We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d588484 + 2e1e19b commit e773e15Copy full SHA for e773e15
service_container/autowiring.rst
@@ -583,6 +583,10 @@ Public and Reusable Bundles
583
---------------------------
584
585
Public bundles should explicitly configure their services and not rely on autowiring.
586
+Autowiring depends on the services that are available in the container and bundles have
587
+no control over the service container of applications they are included in. You can use
588
+autowiring when building reusable bundles within your company, as you have full control
589
+over all code.
590
591
.. _ROT13: https://en.wikipedia.org/wiki/ROT13
592
.. _service definition prototype: https://symfony.com/blog/new-in-symfony-3-3-psr-4-based-service-discovery
0 commit comments