Skip to content

[Workflow] Hide internal services #35197

@ro0NL

Description

@ro0NL

Looking at bin/console debug:container, there's a lot of noise.

In general im curious if we can prepend service IDs with a dot in 5.0, but im not sure if it involves any BC breaks (or if we care for these services), hence an issue for now.

Example:

  state_machine.abstract                  Symfony\Component\Workflow\StateMachine
  state_machine.some                      Symfony\Component\Workflow\StateMachine
  state_machine.some.definition           Symfony\Component\Workflow\Definition 
  state_machine.some.listener.audit_trail Symfony\Component\Workflow\EventListener\AuditTrailListener
  state_machine.some.transition.0         Symfony\Component\Workflow\Transition

Having multiple state machines (some is a single example), the noise is N*N.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions