Total Complexity | 5 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CertificatePath |
||
8 | { |
||
9 | /** @var string */ |
||
10 | private $path; |
||
11 | |||
12 | /** @throws Exception */ |
||
13 | public function __construct(string $path) |
||
17 | } |
||
18 | |||
19 | public function asString(): string |
||
20 | { |
||
21 | return $this->path; |
||
22 | } |
||
23 | |||
24 | /** @throws Exception */ |
||
25 | private function ensureCanReadFile(string $path): void |
||
29 | } |
||
30 | } |
||
32 |