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?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire