Skip to content

Commit 7a43e29

Browse files
committed
minor #13546 [DI] Removed an unneeded note about some parent services restrictions (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- [DI] Removed an unneeded note about some parent services restrictions Fixes #13527. Commits ------- b8e5964 [DI] Removed an unneeded note about some parent services restrictions
2 parents d0703db + b8e5964 commit 7a43e29

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

service_container/parent_services.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ be called when ``App\Repository\DoctrineUserRepository`` is instantiated.
150150
All attributes on the parent service are shared with the child **except** for
151151
``shared``, ``abstract`` and ``tags``. These are *not* inherited from the parent.
152152

153-
.. note::
154-
155-
If you have a ``_defaults`` section in your file, all child services are required
156-
to explicitly override those values to avoid ambiguity. You will see a clear
157-
error message about this.
158-
159153
.. tip::
160154

161155
In the examples shown, the classes sharing the same configuration also

0 commit comments

Comments
 (0)