Skip to content

Document service name conventions #2767

@wouterj

Description

@wouterj

See symfony-cmf/block-bundle#78

Some suggestions:

  • Use dots as seperator for groups
  • The vendor name is the first group and the second group is the bundle name (e.g. fos.user instead of fos_user)
  • The classname should be stored in a parameter which name follows %service name%.class. (e.g. cmf.block.templating.helper.class)
  • Use lowercase letters (symfony will convert them to lowercase anyway)
  • Use underscored-group names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions