From 062497adf7d70e9e22196c4dc71bbe39095dd3e0 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 28 May 2020 17:47:33 +0200 Subject: [PATCH] [DI] Mention that container.no_preload tag propagates automatically --- reference/dic_tags.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reference/dic_tags.rst b/reference/dic_tags.rst index c65e0448c80..c6849978bb9 100644 --- a/reference/dic_tags.rst +++ b/reference/dic_tags.rst @@ -260,6 +260,10 @@ Add this tag to a service and its class won't be preloaded when using ->addTag('container.no_preload') ; +If some service tagged with ``container.no_preload`` is added as an argument of +other service, the ``container.no_preload`` tag is applied automatically to that +service too. + .. _dic-tags-container-preload: container.preload