[ 'App\Listeners\EventListener', // 'App\Listeners\DemoListener', ], 'App\Events\DemoEvent' => [ // 'App\Listeners\EventListener', 'App\Listeners\DemoListener', ], ]; /** * Register any events for your application. * * @return void */ public function boot() { parent::boot(); // } }