Skip to content

Commit f33f197

Browse files
committed
Merge branch '5.1'
* 5.1: Minor tweak [DI] Mention that container.no_preload tag propagates automatically
2 parents 491f866 + 069e02b commit f33f197

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/dic_tags.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ Add this tag to a service and its class won't be preloaded when using
260260
->addTag('container.no_preload')
261261
;
262262
263+
If you add some service tagged with ``container.no_preload`` as an argument of
264+
another service, the ``container.no_preload`` tag is applied automatically to
265+
that service too.
266+
263267
.. _dic-tags-container-preload:
264268

265269
container.preload

0 commit comments

Comments
 (0)