File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -450,8 +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 ``.
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.
455
458
456
459
In addition, services not meant to be used by the application directly, should
457
460
be :ref: `defined as private <container-private-services >`. For public services,
You can’t perform that action at this time.
0 commit comments