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 984f8e9Copy full SHA for 984f8e9
service_container/autowiring.rst
@@ -506,6 +506,9 @@ 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 apps they are included in. You can use autowiring
511
+when building reusable bundles within your company, as you have full control over all code.
512
513
.. _ROT13: https://en.wikipedia.org/wiki/ROT13
514
.. _service definition prototype: https://symfony.com/blog/new-in-symfony-3-3-psr-4-based-service-discovery
0 commit comments