> */ protected $listen = [ // Orders... OrderCreated::class => [ SendOrderCreatedNotification::class, ], // Categories... CategoryTaxChanged::class => [ UpdateCategoryProductsPriceByTax::class, ], // Channel is active state changed... ChannelActiveStateChanged::class => [ HideChannelProducts::class, ], ]; /** * Register any events for your application. */ public function boot(): void { // } /** * Determine if events and listeners should be automatically discovered. */ public function shouldDiscoverEvents(): bool { return false; } }