authserver/testCAS/app/Providers/EventServiceProvider.php
changeset 0 1afc9d2ab94d
equal deleted inserted replaced
-1:000000000000 0:1afc9d2ab94d
       
     1 <?php namespace TestCAS\Providers;
       
     2 
       
     3 use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
       
     4 use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
       
     5 
       
     6 class EventServiceProvider extends ServiceProvider
       
     7 {
       
     8     /**
       
     9      * The event listener mappings for the application.
       
    10      *
       
    11      * @var array
       
    12      */
       
    13     protected $listen = [
       
    14         'TestCAS\Events\SomeEvent' => [
       
    15             'TestCAS\Listeners\EventListener',
       
    16         ],
       
    17     ];
       
    18 
       
    19     /**
       
    20      * Register any other events for your application.
       
    21      *
       
    22      * @param  \Illuminate\Contracts\Events\Dispatcher  $events
       
    23      * @return void
       
    24      */
       
    25     public function boot(DispatcherContract $events)
       
    26     {
       
    27         parent::boot($events);
       
    28 
       
    29         //
       
    30     }
       
    31 }