Total Complexity | 4 |
Total Lines | 28 |
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 exists(): bool |
||
19 | } |
||
20 | |||
21 | public function __construct(PathEncoder $encoder, PathInterface $path) |
||
25 | } |
||
26 | |||
27 | public function get(): PathInterface |
||
28 | { |
||
29 | return $this->path; |
||
30 | } |
||
31 | |||
32 | public function encode(): string |
||
37 | } |
||
38 | } |
||
39 |