lundi 29 mai 2017

Event in own package is not stored in db

I have an event that should be handled in with a worker. with the namespace App\Events and inside the app/events folder. This way it works as expected.

Now I want to place it inside my own package with a new namespace my/package. The event is fired (I get an output inside the event constructor), but the event is not pushed inside the database.

Do events need to have the namespace App\Events to be handled correctly?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2rwvl3A
via IFTTT

Aucun commentaire:

Enregistrer un commentaire