We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8d437e commit b6e04d9Copy full SHA for b6e04d9
bundles/best_practices.rst
@@ -482,6 +482,13 @@ can be used for autowiring.
482
Services should not use autowiring or autoconfiguration. Instead, all services should
483
be defined explicitly.
484
485
+.. tip::
486
+
487
+ If there is no intention for the service id to be used by the end user, you can
488
+ mark it as *hidden* by prefixing it with a dot (e.g. ``.acme_blog.logger``).
489
+ This prevents the service from being listed in the default ``debug:container``
490
+ command output.
491
492
.. seealso::
493
494
You can learn much more about service loading in bundles reading this article:
0 commit comments