Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class ViewException extends BaseException |
||
24 | { |
||
25 | /** |
||
26 | * @param string $name |
||
27 | * @return ViewException |
||
28 | */ |
||
29 | public static function directInstantiation(string $name): ViewException |
||
30 | { |
||
31 | return new static(t('exception.direct_view_instance', $name), E_WARNING); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @return ViewException |
||
36 | */ |
||
37 | public static function noLayoutSet(): ViewException |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * @return ViewException |
||
44 | */ |
||
45 | public static function viewNotRendered(): ViewException |
||
50 |