-
-
Notifications
You must be signed in to change notification settings - Fork 21
Events are not being dispatched #21
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels