1 | <?php |
||
18 | abstract class TemplatingExceptionController extends ExceptionController |
||
19 | { |
||
20 | protected $templating; |
||
21 | |||
22 | public function __construct( |
||
35 | |||
36 | /** |
||
37 | * Finds the template for the given format and status code. |
||
38 | * |
||
39 | * @param Request $request |
||
40 | * @param string $format |
||
41 | * @param int $statusCode |
||
42 | * @param bool $showException |
||
43 | * |
||
44 | * @return TemplateReference |
||
45 | */ |
||
46 | abstract protected function findTemplate(Request $request, $format, $statusCode, $showException); |
||
47 | } |
||
48 |