Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | return new /** @psalm-immutable */ class($rawArray) implements SegmentInterface { |
||
31 | private array $rawArray; |
||
32 | |||
33 | public function __construct(array $rawArray) |
||
36 | } |
||
37 | |||
38 | public function tag(): string |
||
39 | { |
||
40 | return (string) $this->rawArray[0]; |
||
41 | } |
||
42 | |||
43 | public function subId(): string |
||
44 | { |
||
45 | return (string) $this->rawArray[1]; |
||
46 | } |
||
47 | |||
48 | public function rawValues(): array |
||
51 | } |
||
52 | }; |
||
53 | } |
||
55 |