Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | final class ExistingSelectOnePathResult implements SelectOnePathResultInterface |
||
10 | { |
||
11 | |||
12 | private $path; |
||
13 | |||
14 | private $encoder; |
||
15 | |||
16 | public function __construct(PathEncoder $encoder, PathInterface $path) |
||
20 | } |
||
21 | |||
22 | public function get(): PathInterface |
||
23 | { |
||
24 | return $this->path; |
||
25 | } |
||
26 | |||
27 | public function encode(): string |
||
32 | } |
||
33 | } |
||
34 |