Total Complexity | 3 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Coverage | 27.27% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class RoleCreated implements TriggerableEvent |
||
9 | { |
||
10 | |||
11 | /** |
||
12 | * @var Role |
||
13 | */ |
||
14 | private $role; |
||
15 | |||
16 | 6 | public function __construct(Role $role) |
|
17 | { |
||
18 | 6 | $this->role = $role; |
|
19 | 6 | } |
|
20 | |||
21 | /** |
||
22 | * @inheritDoc |
||
23 | */ |
||
24 | public function getFields(): array |
||
32 | ]; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @inheritDoc |
||
37 | */ |
||
38 | public static function getFieldMetaData(): array |
||
60 | ] |
||
61 | ]; |
||
63 | } |