Laravel 5 Event Handler Not Firing

前端 未结 6 1022
再見小時候
再見小時候 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:25

    I had a similar issue and I fixed it by deleting the vendor\compiled.php file. Then I run "composer update" again and now the handler is firing as expected.

提交回复
热议问题