| Total Complexity | 1 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class TrackingEventServiceProvider extends EventServiceProvider |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * The event listener mappings for the application. |
||
| 15 | * |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $listen = [ |
||
| 19 | // Activity Tracking |
||
| 20 | TrackActivityEvent::class => [ |
||
| 21 | TrackActivityListener::class, |
||
| 22 | ], |
||
| 23 | |||
| 24 | // Traffic Tracking |
||
| 25 | TrackTrafficEvent::class => [ |
||
| 26 | TrackTrafficListener::class, |
||
| 27 | ], |
||
| 28 | ]; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Register any events for your application. |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function boot() |
||
| 40 |