Skip to content

Missed cleanup in fluent migration #14217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cache.rst
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,6 @@ to enable this feature. This could be added by using the following configuration
.. code-block:: php

// config/packages/cache.php
use Symfony\Component\Cache\Adapter\ChainAdapter;
use Symfony\Component\DependencyInjection\Reference;

$container->loadFromExtension('framework', [
'cache' => [
'pools' => [
Expand Down
1 change: 0 additions & 1 deletion reference/configuration/swiftmailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,6 @@ alternatives based on the :ref:`service binding <services-binding>` feature:
// config/services.php
use App\Some\Service;
use Psr\Log\LoggerInterface;
use Symfony\Component\DependencyInjection\Reference;


$container->register(Service::class)
Expand Down
2 changes: 1 addition & 1 deletion service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ all their types (string, boolean, array, binary and PHP constant parameters).
However, there is another type of parameter related to services. In YAML config,
any string which starts with ``@`` is considered as the ID of a service, instead
of a regular string. In XML config, use the ``type="service"`` type for the
parameter and in PHP config use the ``Reference`` class:
parameter and in PHP config use the ``ref`` function:

.. configuration-block::

Expand Down