8000
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.
1 parent 5fcedb6 commit 35d2e97Copy full SHA for 35d2e97
service_container/autowiring.rst
@@ -506,6 +506,10 @@ Public and Reusable Bundles
506
---------------------------
507
508
Public bundles should explicitly configure their services and not rely on autowiring.
509
+Autowiring depends on the services that are available in the container and bundles have
510
+no control over the service container of applications they are included in. You can use
511
+autowiring when building reusable bundles within your company, as you have full control
512
+over all code.
513
514
.. _ROT13: https://en.wikipedia.org/wiki/ROT13
515
.. _service definition prototype: https://symfony.com/blog/new-in-symfony-3-3-psr-4-based-service-discovery
0 commit comments