Skip to content

Conversation

@lyrixx
Copy link
Member

@lyrixx lyrixx commented Jan 25, 2023

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations?
Tickets
License MIT
Doc PR

This allows to write:

    public function __construct(
        #[Target('rules')]
        private readonly WorkflowInterface $rulesStateMachine,
    ) {

instead of:

    public function __construct(
        #[Target('rulesStateMachine')]
        private readonly WorkflowInterface $rulesStateMachine,
    ) {

@carsonbot carsonbot added this to the 6.3 milestone Jan 25, 2023
@carsonbot carsonbot changed the title [FrameworkBundle] Register alias for argument for workflow services with workflow name only [FrameworkBundle][Workflow] Register alias for argument for workflow services with workflow name only Jan 25, 2023
@nicolas-grekas
Copy link
Member

Thank you @lyrixx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants