| @@ 36-43 (lines=8) @@ | ||
| 33 | } |
|
| 34 | } |
|
| 35 | ||
| 36 | public function error404() |
|
| 37 | { |
|
| 38 | $this->redirect()->responseCode('404'); |
|
| 39 | ||
| 40 | return $this->twig('errors/404.html.twig', [ |
|
| 41 | 'title' => '404 Page Not Found :: ' . $this->data('title'), |
|
| 42 | ]); |
|
| 43 | } |
|
| 44 | ||
| 45 | public function error503() |
|
| 46 | { |
|
| @@ 45-52 (lines=8) @@ | ||
| 42 | ]); |
|
| 43 | } |
|
| 44 | ||
| 45 | public function error503() |
|
| 46 | { |
|
| 47 | $this->redirect()->responseCode('503'); |
|
| 48 | ||
| 49 | return $this->twig('errors/503.html.twig', [ |
|
| 50 | 'title' => '503 Service Unavailable :: ' . $this->data('title'), |
|
| 51 | ]); |
|
| 52 | } |
|
| 53 | ||
| 54 | public function error500() |
|
| 55 | { |
|
| @@ 54-61 (lines=8) @@ | ||
| 51 | ]); |
|
| 52 | } |
|
| 53 | ||
| 54 | public function error500() |
|
| 55 | { |
|
| 56 | $this->redirect()->responseCode('503'); |
|
| 57 | ||
| 58 | return $this->twig('errors/503.html.twig', [ |
|
| 59 | 'title' => '503 Service Unavailable :: ' . $this->data('title'), |
|
| 60 | ]); |
|
| 61 | } |
|
| 62 | ||
| 63 | /** |
|
| 64 | * @param null $target |
|