File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -450,12 +450,11 @@ Bundles must be versioned following the `Semantic Versioning Standard`_.
450
450
Services
451
451
--------
452
452
453
- If the bundle defines services, they must be prefixed with the bundle alias.
454
- For example, AcmeBlogBundle services must be prefixed with ``acme_blog ``
455
- instead of using fully qualified class names like in a project. This is
456
- because a bundle should not pollute the list of autowireable types with
457
- its own services, and to avoid service ids collisions with projects or
458
- other bundles that might do so.
453
+ If the bundle defines services, they must be prefixed with the bundle alias
454
+ instead of using fully qualified class names like you do in your project
455
+ services. For example, AcmeBlogBundle services must be prefixed with ``acme_blog ``.
456
+ The reason is that bundles shouldn't rely on features such as service autowiring
457
+ or autoconfiguration to not impose an overhead when compiling application services.
459
458
460
459
In addition, services not meant to be used by the application directly, should
461
460
be :ref: `defined as private <container-private-services >`. For public services,
You can’t perform that action at this time.
0 commit comments