| @@ 23-30 (lines=8) @@ | ||
| 20 | } |
|
| 21 | } |
|
| 22 | ||
| 23 | public function error404() |
|
| 24 | { |
|
| 25 | $this->redirect()->responseCode('404'); |
|
| 26 | ||
| 27 | return $this->twig('errors/404.html.twig', [ |
|
| 28 | 'title' => '404 Page Not Found :: ' . $this->data('title'), |
|
| 29 | ]); |
|
| 30 | } |
|
| 31 | ||
| 32 | public function error503() |
|
| 33 | { |
|
| @@ 32-39 (lines=8) @@ | ||
| 29 | ]); |
|
| 30 | } |
|
| 31 | ||
| 32 | public function error503() |
|
| 33 | { |
|
| 34 | $this->redirect()->responseCode('503'); |
|
| 35 | ||
| 36 | return $this->twig('errors/503.html.twig', [ |
|
| 37 | 'title' => '503 Service Unavailable :: ' . $this->data('title'), |
|
| 38 | ]); |
|
| 39 | } |
|
| 40 | ||
| 41 | public function error500() |
|
| 42 | { |
|
| @@ 41-48 (lines=8) @@ | ||
| 38 | ]); |
|
| 39 | } |
|
| 40 | ||
| 41 | public function error500() |
|
| 42 | { |
|
| 43 | $this->redirect()->responseCode('503'); |
|
| 44 | ||
| 45 | return $this->twig('errors/503.html.twig', [ |
|
| 46 | 'title' => '503 Service Unavailable :: ' . $this->data('title'), |
|
| 47 | ]); |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * @param null $target |
|