Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | final class SegmentedValues |
||
12 | { |
||
13 | /** @var array */ |
||
14 | private $list; |
||
15 | |||
16 | 7 | public static function fromRaw( |
|
34 | } |
||
35 | |||
36 | 7 | private function addSegment(SegmentInterface $segment): void |
|
37 | { |
||
38 | 7 | $this->list[] = $segment; |
|
39 | 7 | } |
|
40 | |||
41 | /** @return SegmentInterface[] */ |
||
42 | 7 | public function list(): array |
|
45 | } |
||
46 | } |
||
47 |