Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
9 | final class Ids extends ImmutableCollection implements Labels |
||
10 | { |
||
11 | private function __construct(string ...$labels) |
||
12 | { |
||
13 | parent::__construct(...$labels); |
||
14 | } |
||
15 | |||
16 | public static function consistingOf(string ...$labels): Labels |
||
17 | { |
||
18 | return new self(...$labels); |
||
19 | } |
||
20 | |||
21 | public static function for(Vertex ...$vertices): Labels |
||
26 | } |
||
27 | |||
28 | public function current(): string |
||
31 | } |
||
32 | } |
||
33 |