Total Complexity | 3 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | <?php |
||
10 | final class InvalidTemplateSpecified extends InvalidArgumentException implements GeneratorException |
||
11 | { |
||
12 | 1 | public static function notFoundOrNotReadable(string $path) : self |
|
15 | } |
||
16 | |||
17 | public static function notReadable(string $path) : self |
||
18 | { |
||
19 | return new self(sprintf('The specified template "%s" could not be read.', $path)); |
||
20 | } |
||
21 | |||
22 | 1 | public static function empty(string $path) : self |
|
25 | } |
||
26 | } |
||
27 |