> */ protected $listen = [ Registered::class => [ SendEmailVerificationNotification::class, ], SubTaskCreated::class => [ SendNewTaskEmailNotification::class, //LogEvent::class, ], ]; /** * Register any events for your application. * * @return void */ public function boot() { MasterTask::observe( MasterTaskObserver::class); SubTask::observe( SubTaskObserver::class); } /** * Determine if events and listeners should be automatically discovered. * * @return bool */ public function shouldDiscoverEvents() { return false; } }