Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | final class SelectPathsResult implements SelectPathsResultInterface |
||
11 | { |
||
12 | |||
13 | private $paths; |
||
14 | |||
15 | private $encoder; |
||
16 | |||
17 | 5 | public function __construct(PathEncoderInterface $encoder, PathInterface ...$paths) |
|
18 | { |
||
19 | 5 | $this->encoder = $encoder; |
|
20 | 5 | $this->paths = $paths; |
|
21 | 5 | } |
|
22 | |||
23 | 2 | public function get(): array |
|
26 | } |
||
27 | |||
28 | 3 | public function encode(): array |
|
31 | } |
||
32 | } |
||
33 |