diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 9cc1c9faed1..549bbf2039b 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -221,7 +221,10 @@ Service Naming Conventions * Use lowercase letters for service and parameter names (except when referring to environment variables with the ``%env(VARIABLE_NAME)%`` syntax); -* A group name uses the underscore notation. +* A group name uses the underscore notation; + +* Add class aliases for public services (e.g. alias ``Symfony\Component\Something\ClassName`` + to ``something.service_name``). Documentation -------------