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`_.
450450Services
451451--------
452452
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.
455458
456459In addition, services not meant to be used by the application directly, should
457460be :ref: `defined as private <container-private-services >`. For public services,
You can’t perform that action at this time.
0 commit comments