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