We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f8ff4 commit 80046ceCopy full SHA for 80046ce
contributing/code/standards.rst
@@ -134,6 +134,16 @@ Naming Conventions
134
* Don't forget to look at the more verbose :doc:`conventions` document for
135
more subjective naming considerations.
136
137
+Service Naming Conventions
138
+~~~~~~~~~~~~~~~~~~~~~~~~~~
139
+
140
+* A service name contains groups, seperated by dots;
141
+* The DI alias of the bundle is the first group (e.g. ``fos_user``);
142
+* Use lowercase letters for service and parameter names;
143
+* A group name uses the underscore notation;
144
+* Each service has a coresponding parameter containing the class name,
145
+ following the ``%service name%.class`` convention.
146
147
Documentation
148
-------------
149
0 commit comments