Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | final class ExistingSelectOnePathResult implements SelectOnePathResultInterface |
||
10 | { |
||
11 | |||
12 | private $path; |
||
13 | |||
14 | private $encoder; |
||
15 | |||
16 | 1 | public function exists(): bool |
|
19 | } |
||
20 | |||
21 | 4 | public function __construct(PathEncoderInterface $encoder, PathInterface $path) |
|
25 | 4 | } |
|
26 | |||
27 | 1 | public function get(): PathInterface |
|
28 | { |
||
29 | 1 | return $this->path; |
|
30 | } |
||
31 | |||
32 | 2 | public function encode(): string |
|
37 | } |
||
38 | } |
||
39 |