Skip to content

Allow to specify method on receiver service tag #77

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 }

Activity

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

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