Skip to content

Commit e6c4819

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: add links label in service container page
2 parents 7ded54a + 7047b79 commit e6c4819

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

service_container.rst

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ in the container.
8080
There are actually *many* more services in the container, and each service has
8181
a unique id in the container, like ``request_stack`` or ``router.default``. For a full
8282
list, you can run ``php bin/console debug:container``. But most of the time,
83-
you won't need to worry about this. See :ref:`services-wire-specific-service`.
84-
See :doc:`/service_container/debug`.
83+
you won't need to worry about this. See :ref:`how to choose a specific service
84+
<services-wire-specific-service>`. See :doc:`/service_container/debug`.
8585

8686
.. _service-container-creating-service:
8787

@@ -228,10 +228,11 @@ each time you ask for it.
228228

229229
Thanks to this configuration, you can automatically use any classes from the
230230
``src/`` directory as a service, without needing to manually configure
231-
it. Later, you'll learn more about this in :ref:`service-psr4-loader`.
231+
it. Later, you'll learn how to :ref:`import many services at once
232+
<service-psr4-loader>` with resource.
232233

233-
If you'd prefer to manually wire your service, that's totally possible: see
234-
:ref:`services-explicitly-configure-wire-services`.
234+
If you'd prefer to manually wire your service, you can
235+
:ref:`use explicit configuration <services-explicitly-configure-wire-services>`.
235236

236237
.. _service-container_limiting-to-env:
237238

@@ -927,8 +928,8 @@ argument for *any* service defined in this file! You can bind arguments by name
927928
(e.g. ``$adminEmail``), by type (e.g. ``Psr\Log\LoggerInterface``) or both
928929
(e.g. ``Psr\Log\LoggerInterface $requestLogger``).
929930

930-
The ``bind`` config can also be applied to specific services or when loading many
931-
services at once (i.e. :ref:`service-psr4-loader`).
931+
The ``bind`` config can also be applied to specific services or when
932+
:ref:`loading many services at once <service-psr4-loader>`).
932933

933934
Abstract Service Arguments
934935
--------------------------
@@ -1176,9 +1177,9 @@ key. For example, the default Symfony configuration contains this:
11761177
This can be used to quickly make many classes available as services and apply some
11771178
default configuration. The ``id`` of each service is its fully-qualified class name.
11781179
You can override any service that's imported by using its id (class name) below
1179-
(e.g. see :ref:`services-manually-wire-args`). If you override a service, none of
1180-
the options (e.g. ``public``) are inherited from the import (but the overridden
1181-
service *does* still inherit from ``_defaults``).
1180+
(e.g. see :ref:`how to manually wire arguments <services-manually-wire-args>`).
1181+
If you override a service, none of the options (e.g. ``public``) are inherited
1182+
from the import (but the overridden service *does* still inherit from ``_defaults``).
11821183

11831184
You can also ``exclude`` certain paths. This is optional, but will slightly increase
11841185
performance in the ``dev`` environment: excluded paths are not tracked and so modifying

0 commit comments

Comments
 (0)