Skip to content

Events are not being dispatched #21

@ArthurHetem

Description

@ArthurHetem

Hello, i've been struggling with one thing, i can't get the events to be dispatched and listened.

i added that to my model:
`use AttributeEvents;

protected $dispatchesEvents = [
'status:issued' => OrderIssued::class,
];`

then i added this to my EventServiceProvider $listen array:
OrderIssued::class => [ SendMeliInvoiceXML::class, ],

am i missing something?

thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions