| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | final class BlockException extends InvalidArgumentException |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return BlockException |
||
| 11 | */ |
||
| 12 | public static function forEmptyName(): self |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return BlockException |
||
| 19 | */ |
||
| 20 | public static function forEmptyTemplate(): self |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string|string[] $template |
||
| 27 | * |
||
| 28 | * @return BlockException |
||
| 29 | */ |
||
| 30 | public static function forNotFoundTemplate($template): self |
||
| 37 |