| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 8 | class ControllerException extends ApplicationException |
||
| 9 | { |
||
| 10 | public static function forMissingController(string $route): self |
||
| 11 | { |
||
| 12 | return new self("Could not retrieve controller for route $route"); |
||
| 13 | } |
||
| 14 | |||
| 15 | public static function forInvalidReturnValue(): self |
||
| 21 | )); |
||
| 22 | } |
||
| 24 |