| @@ 93-100 (lines=8) @@ | ||
| 90 | ||
| 91 | } |
|
| 92 | ||
| 93 | public function error404() |
|
| 94 | { |
|
| 95 | $this->container()->get('redirect')->responseCode('404'); |
|
| 96 | ||
| 97 | return $this->twig('errors/error.html.twig', [ |
|
| 98 | 'title' => '404 Page Not Found :: ' . $this->getData('title'), |
|
| 99 | ]); |
|
| 100 | } |
|
| 101 | ||
| 102 | public function error503() |
|
| 103 | { |
|
| @@ 102-109 (lines=8) @@ | ||
| 99 | ]); |
|
| 100 | } |
|
| 101 | ||
| 102 | public function error503() |
|
| 103 | { |
|
| 104 | $this->container()->get('redirect')->responseCode('503'); |
|
| 105 | ||
| 106 | return $this->twig('errors/error.html.twig', [ |
|
| 107 | 'title' => '503 Service Unavailable :: ' . $this->getData('title'), |
|
| 108 | ]); |
|
| 109 | } |
|
| 110 | ||
| 111 | public function error500() |
|
| 112 | { |
|
| @@ 111-118 (lines=8) @@ | ||
| 108 | ]); |
|
| 109 | } |
|
| 110 | ||
| 111 | public function error500() |
|
| 112 | { |
|
| 113 | $this->container()->get('redirect')->responseCode('503'); |
|
| 114 | ||
| 115 | return $this->twig('errors/503.html.twig', [ |
|
| 116 | 'title' => '503 Service Unavailable :: ' . $this->getData('title'), |
|
| 117 | ]); |
|
| 118 | } |
|
| 119 | } |
|
| 120 | ||