Conditions | 7 |
Paths | 64 |
Total Lines | 29 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function getValue(): array |
||
36 | { |
||
37 | $data = []; |
||
38 | |||
39 | if (isset($this->description)) { |
||
40 | $data['seatDescription'] = $this->description; |
||
41 | } |
||
42 | |||
43 | if (isset($this->identifier)) { |
||
44 | $data['seatIdentifier'] = $this->identifier; |
||
45 | } |
||
46 | |||
47 | if (isset($this->number)) { |
||
48 | $data['seatNumber'] = $this->number; |
||
49 | } |
||
50 | |||
51 | if (isset($this->row)) { |
||
52 | $data['seatRow'] = $this->row; |
||
53 | } |
||
54 | |||
55 | if (isset($this->section)) { |
||
56 | $data['seatSection'] = $this->section; |
||
57 | } |
||
58 | |||
59 | if (isset($this->type)) { |
||
60 | $data['seatType'] = $this->type; |
||
61 | } |
||
62 | |||
63 | return $data; |
||
64 | } |
||
66 |