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 13ff783 + 419bd3e commit 96866e7Copy full SHA for 96866e7
service_container/autowiring.rst
@@ -592,6 +592,10 @@ Public and Reusable Bundles
592
---------------------------
593
594
Public bundles should explicitly configure their services and not rely on autowiring.
595
+Autowiring depends on the services that are available in the container and bundles have
596
+no control over the service container of applications they are included in. You can use
597
+autowiring when building reusable bundles within your company, as you have full control
598
+over all code.
599
600
.. _ROT13: https://en.wikipedia.org/wiki/ROT13
601
.. _service definition prototype: https://symfony.com/blog/new-in-symfony-3-3-psr-4-based-service-discovery
0 commit comments