Laravel 5 Event Handler Not Firing

前端 未结 6 1012
再見小時候
再見小時候 2020-12-31 02:02

So I\'m trying out the new Laravel 5 Event methodology.

In my repository, I\'m firing the event \"KitchenStored\" as so:

//  Events
use App\\Events\\         


        
6条回答
  •  无人及你
    2020-12-31 02:09

    This is an older question, but I came across this same issue and for me, it was because I'd added my new Event to the service provider but crucially I had not imported it. For anyone in 2020 with this issue, check that you have imported the event.

提交回复
热议问题