Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
10 | class BaseEvent implements Event |
||
11 | { |
||
12 | protected int $id; |
||
13 | |||
14 | protected Type $type; |
||
15 | |||
16 | protected Information $information; |
||
17 | |||
18 | protected Ring $ring; |
||
19 | |||
20 | protected BaseSound $sound; |
||
21 | |||
22 | 23 | public function __construct(int $id, Type $type, Information $information, Ring $ring, BaseSound $sound) |
|
29 | 23 | } |
|
30 | |||
31 | /** |
||
32 | * @return array<string,mixed> |
||
33 | */ |
||
34 | 21 | public function getAsArray(): array |
|
45 |