8000 Added a note about inlined private services by javiereguiluz · Pull Request #3727 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Added a note about inlined private services #3727

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

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Emphasized the fact that this only applies when the private
service is used as argument for a single service
  • Loading branch information
javiereguiluz committed Mar 28, 2014
commit 835b52f9616f19d16444d6efa98f0df84d43d17c
2 changes: 1 addition & 1 deletion book/service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ By default only public services are shown, but you can also view private service

.. note::

If a private service is only used as an argument to just one other service,
If a private service is only used as an argument to just *one* other service,
it won't be displayed by the ``container:debug`` command, even when using
the ``--show-private`` option. See :ref:`inlined-private-services` for a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there's no header immediately after the target, we have to include a label here, something like:

:ref:`Inline Private Services <inlined-private-services>` for more details.

more detailed explanation.
Expand Down
0