Is it possible to use a queue inside event-listener in Laravel?
Lets say I have a controller QuotesController
from where I fire the QuoteCreated
event which has a SendNotification
listener. And I want to dispatch a queue named EmailToUser
from that listener.
Of course I can dispatch the queue directly form Controller but can I dispatch it form a listener?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2dKK6UZ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire