Total Complexity | 6 |
Total Lines | 42 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Gears extends Serializable implements \JsonSerializable, GearsInterface |
||
14 | { |
||
15 | use JsonSerializer; |
||
16 | |||
17 | /** @var Gear[] */ |
||
18 | protected array $gears; |
||
19 | |||
20 | /** |
||
21 | * ctor |
||
22 | */ |
||
23 | public function __construct() |
||
24 | { |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * returns gears |
||
29 | * @return Gear[] |
||
30 | */ |
||
31 | 5 | public function getGears(): array |
|
34 | } |
||
35 | |||
36 | /** |
||
37 | * set gears |
||
38 | * @param Gear[] $gears |
||
39 | * @return Gears |
||
40 | */ |
||
41 | 3 | public function setGears(array $gears): Gears |
|
55 | } |
||
56 | } |
||
57 |