123456789101112131415161718192021222324252627282930313233 |
- <?php
- namespace App\Providers;
- use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
- class EventServiceProvider extends ServiceProvider
- {
- /**
- * The event listener mappings for the application.
- *
- * @var array
- */
- protected $listen = [
- 'Illuminate\Auth\Events\Authenticated' => [
- 'App\Listeners\SendSysMessage',
- ],
- 'App\Search\Events\SearchUpdateEvent' => [
- 'App\Search\Listeners\SearchUpdateListener'
- ]
- ];
- /**
- * Register any events for your application.
- *
- * @return void
- */
- public function boot()
- {
- parent::boot();
- //
- }
- }
|