| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class CharacteristicDto implements \JsonSerializable |
||
| 8 | { |
||
| 9 | public $uuid; |
||
| 10 | public $label; |
||
| 11 | public $prettyLabel; |
||
| 12 | public $type; |
||
| 13 | public $icon; |
||
| 14 | public $opt; |
||
| 15 | |||
| 16 | public function __construct(string $uuid, string $label, string $type, ?string $icon, $prettyLabel, array $opt = []) |
||
| 24 | } |
||
| 25 | |||
| 26 | public function type():string |
||
| 27 | { |
||
| 28 | return $this->type; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function jsonSerialize() |
||
| 34 | } |
||
| 35 | |||
| 36 | public function toArray() |
||
| 46 |