Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
13 | class LoggerServiceProvider extends ServiceProvider |
||
14 | { |
||
15 | public $register = [ |
||
16 | Team::class => [ |
||
17 | 'label' => 'name', |
||
18 | 'attributes' => ['name'], |
||
19 | 'events' => [Events::Created, Events::Updated, Events::Deleted], |
||
20 | ], |
||
21 | User::class => [ |
||
22 | 'label' => 'person.name', |
||
23 | 'attributes' => ['role_id' => [Role::class => 'name']], |
||
24 | 'events' => [Events::UpdatedActiveState], |
||
25 | ], |
||
26 | ]; |
||
27 | |||
28 | public function boot() |
||
37 |