| Total Complexity | 1 | 
| Total Lines | 28 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 11 | class EventServiceProvider extends ServiceProvider  | 
            ||
| 12 | { | 
            ||
| 13 | /**  | 
            ||
| 14 | * The event listener mappings for the application.  | 
            ||
| 15 | *  | 
            ||
| 16 | * @var array  | 
            ||
| 17 | */  | 
            ||
| 18 | protected $listen = [  | 
            ||
| 19 | 'Illuminate\Auth\Events\Login' => [  | 
            ||
| 20 | 'Thinktomorrow\Chief\App\Listeners\LogSuccessfulLogin',  | 
            ||
| 21 | ],  | 
            ||
| 22 | |||
| 23 | UserInvited::class => [  | 
            ||
| 24 | SendInvite::class  | 
            ||
| 25 | ],  | 
            ||
| 26 | InviteAccepted::class => [  | 
            ||
| 27 | EnableUser::class.'@onAcceptingInvite',  | 
            ||
| 28 | ],  | 
            ||
| 29 | ];  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Register any events for your application.  | 
            ||
| 33 | *  | 
            ||
| 34 | * @return void  | 
            ||
| 35 | */  | 
            ||
| 36 | public function boot()  | 
            ||
| 37 |     { | 
            ||
| 38 | parent::boot();  | 
            ||
| 39 | |||
| 43 |