| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class EventServiceProvider extends ServiceProvider |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The event listener mappings for the application. |
||
| 24 | * |
||
| 25 | * @var array |
||
| 26 | */ |
||
| 27 | protected $listen = [ |
||
| 28 | 'Yeelight\Events\Event' => [ |
||
| 29 | 'Yeelight\Listeners\EventListener', |
||
| 30 | ], |
||
| 31 | 'Laravel\Passport\Events\AccessTokenCreated' => [ |
||
| 32 | 'Yeelight\Listeners\Auth\RevokeOldTokens', |
||
| 33 | ], |
||
| 34 | 'Laravel\Passport\Events\RefreshTokenCreated' => [ |
||
| 35 | 'Yeelight\Listeners\Auth\PruneOldTokens', |
||
| 36 | ], |
||
| 37 | ]; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Register any events for your application. |
||
| 41 | * |
||
| 42 | * @return void |
||
| 43 | */ |
||
| 44 | public function boot() |
||
| 51 |