| 1 | <?php |
||
| 15 | class TemplateNotFoundException extends \Exception |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Create a new exception via template name |
||
| 19 | * |
||
| 20 | * @param string $template |
||
| 21 | * @param array $availableTemplates |
||
| 22 | * @param int $code |
||
| 23 | * @param \Exception $prev |
||
| 24 | * |
||
| 25 | * @return TemplateNotFoundException |
||
| 26 | */ |
||
| 27 | 1 | public static function create($template, array $availableTemplates, $code = 0, \Exception $prev = null) |
|
| 35 | } |
||
| 36 |