Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit df5edb0

Browse filesBrowse files
authored
add links label in service container page
1 parent 7cf8d17 commit df5edb0
Copy full SHA for df5edb0

File tree

Expand file treeCollapse file tree

1 file changed

+11
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-10
lines changed

‎service_container.rst

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

8888
.. _service-container-creating-service:
8989

@@ -230,10 +230,11 @@ each time you ask for it.
230230

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

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

238239
.. _service-container_limiting-to-env:
239240

@@ -840,8 +841,8 @@ argument for *any* service defined in this file! You can bind arguments by name
840841
(e.g. ``$adminEmail``), by type (e.g. ``Psr\Log\LoggerInterface``) or both
841842
(e.g. ``Psr\Log\LoggerInterface $requestLogger``).
842843

843-
The ``bind`` config can also be applied to specific services or when loading many
844-
services at once (i.e. :ref:`service-psr4-loader`).
844+
The ``bind`` config can also be applied to specific services or when
845+
:ref:`loading many services at once <service-psr4-loader>`).
845846

846847
Abstract Service Arguments
847848
--------------------------
@@ -1091,9 +1092,9 @@ key. For example, the default Symfony configuration contains this:
10911092
This can be used to quickly make many classes available as services and apply some
10921093
default configuration. The ``id`` of each service is its fully-qualified class name.
10931094
You can override any service that's imported by using its id (class name) below
1094-
(e.g. see :ref:`services-manually-wire-args`). If you override a service, none of
1095-
the options (e.g. ``public``) are inherited from the import (but the overridden
1096-
service *does* still inherit from ``_defaults``).
1095+
(e.g. see :ref:`how to manually wire arguments <services-manually-wire-args>`).
1096+
If you override a service, none of the options (e.g. ``public``) are inherited
1097+
from the import (but the overridden service *does* still inherit from ``_defaults``).
10971098

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.