| Total Complexity | 1 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class EventServiceProvider extends ServiceProvider |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * The event listener mappings for the application. |
||
| 20 | * |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $listen = [ |
||
| 24 | Registered::class => [ |
||
| 25 | SendEmailVerificationNotification::class, |
||
| 26 | ], |
||
| 27 | CandidateApplied::class => [ |
||
| 28 | CandidateApplyListener::class, |
||
| 29 | ], |
||
| 30 | // CandidateStageChanged::class => [ |
||
| 31 | // CandidateStageListener::class |
||
| 32 | // ], |
||
| 33 | CandidateDeleted::class => [ |
||
| 34 | CandidateDeleteListener::class, |
||
| 35 | ], |
||
| 36 | MessageSent::class => [ |
||
| 37 | MessageSentListener::class, |
||
| 38 | ], |
||
| 39 | ]; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * The subscriber classes to register. |
||
| 43 | * |
||
| 44 | * @var array |
||
| 45 | */ |
||
| 46 | protected $subscribe = [ |
||
| 47 | CandidateEventSubscriber::class, |
||
| 48 | ]; |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Register any events for your application. |
||
| 52 | * |
||
| 53 | * @return void |
||
| 54 | */ |
||
| 55 | public function boot() |
||
| 62 |