File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -382,7 +382,11 @@ Services
382
382
--------
383
383
384
384
If the bundle defines services, they must be prefixed with the bundle alias.
385
- For example, AcmeBlogBundle services must be prefixed with ``acme_blog ``.
385
+ For example, AcmeBlogBundle services must be prefixed with ``acme_blog ``
386
+ instead of using fully qualified class names like in a project. This is
387
+ because a bundle should not pollute the list of autowireable types with
388
+ its own services, and do avoid service ids collisions with projects or
389
+ other bundles that might do so.
386
390
387
391
In addition, services not meant to be used by the application directly, should
388
392
be :ref: `defined as private <container-private-services >`. For public services,
You can’t perform that action at this time.
0 commit comments