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