如何解決類「應用活動事件」在laravel 5.3沒有找到擴展事件類
class NewMessage extends Event{
}
//Using this i am getting error visible in image.
如何解決類「應用活動事件」在laravel 5.3沒有找到擴展事件類
class NewMessage extends Event{
}
//Using this i am getting error visible in image.
添加使用App \活動\事件;命名空間App \ Events之後; –
在課前使用App \ Event \ Event添加 – DsRaj
<?php namespace App \ Events; 使用App \ Events \ Event; 使用Illuminate \ Queue \ SerializesModels; 使用Illuminate \ Contracts \ Broadcasting \ ShouldBroadcast; 類NewMessage擴展事件 { } –