Skip to content

Symfony async_events. Custom transformer never used #747

Description

@GCalmels

When I add a custom transformer with a regex eventName : '/app\.text\..*?/', the transformer is never used.
I think it is because eventsMap in Registry is an array with the first element : '/.*/' so it is always true for regex eventName, right ?

I don't know how to add custom transformers before the standard transformer ... but maybe I could add array_reverse to eventsMap ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions