Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
9 | class Seats implements SemanticTag |
||
10 | { |
||
11 | /** @var Seat[] */ |
||
12 | private array $seats = []; |
||
13 | |||
14 | public function __construct(Seat $seat = null) |
||
18 | } |
||
19 | } |
||
20 | |||
21 | public function addSeat(Seat $seat): void |
||
22 | { |
||
23 | $this->seats[] = $seat; |
||
24 | } |
||
25 | |||
26 | public function getKey(): string |
||
27 | { |
||
28 | return 'seats'; |
||
29 | } |
||
30 | /** |
||
31 | * @return array<array<string, string>> |
||
32 | */ |
||
33 | public function getValue(): array |
||
42 | } |
||
43 | } |