Total Complexity | 5 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | class CertificatePath |
||
25 | { |
||
26 | /** @var string */ |
||
27 | private $path; |
||
28 | |||
29 | /** @throws Exception */ |
||
30 | public function __construct(string $path) |
||
34 | } |
||
35 | |||
36 | public function asString(): string |
||
37 | { |
||
38 | return $this->path; |
||
39 | } |
||
40 | |||
41 | /** @throws Exception */ |
||
42 | private function ensureCanReadFile(string $path): void |
||
46 | } |
||
47 | } |
||
49 |