| Total Complexity | 2 |
| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | final class TemplateNotFoundException extends InvalidArgumentException |
||
| 20 | { |
||
| 21 | 1 | public static function forDatabaseTemplate(string $templateName): self |
|
| 22 | { |
||
| 23 | 1 | return new self(\sprintf('Template "%s" does not exist.', $templateName)); |
|
| 24 | } |
||
| 25 | |||
| 26 | 3 | public static function forFilesystemTemplate(string $templatePath): self |
|
| 29 | } |
||
| 30 | } |
||
| 31 |