Skip to content

Allow to specify method on receiver service tag #77

@diimpp

Description

@diimpp

Hi,

would be cool to be able to specify which method should handle message processing.

Like so

my_receiver:
    class: Acme\Receiver
    # public: true # Make sure the service is public
    tags:
         - { name: bernard.receiver, message: SendNewsletter, method: sendMyNewsletter }
         - { name: bernard.receiver, message: ImportUsers }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions