Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class EventServiceProvider extends ServiceProvider |
||
11 | { |
||
12 | /** |
||
13 | * The event to listener mappings for the application. |
||
14 | * |
||
15 | * @var array<class-string, array<int, class-string>> |
||
|
|||
16 | */ |
||
17 | protected $listen = [ |
||
18 | Registered::class => [ |
||
19 | SendEmailVerificationNotification::class, |
||
20 | ], |
||
21 | ]; |
||
22 | |||
23 | /** |
||
24 | * Register any events for your application. |
||
25 | */ |
||
26 | 75 | public function boot(): void |
|
28 | // |
||
29 | 75 | } |
|
30 | |||
31 | /** |
||
32 | * Determine if events and listeners should be automatically discovered. |
||
33 | */ |
||
34 | 75 | public function shouldDiscoverEvents(): bool |
|
39 |