Skip to content

[DI] Removed an unneeded note about some parent services restrictions #13546

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 1 commit into from
Apr 14, 2020
Merged
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
6 changes: 0 additions & 6 deletions service_container/parent_services.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,6 @@ be called when ``App\Repository\DoctrineUserRepository`` is instantiated.
All attributes on the parent service are shared with the child **except** for
``shared``, ``abstract`` and ``tags``. These are *not* inherited from the parent.

.. note::

If you have a ``_defaults`` section in your file, all child services are required
to explicitly override those values to avoid ambiguity. You will see a clear
error message about this.

.. tip::

In the examples shown, the classes sharing the same configuration also
Expand Down