@@ 84-91 (lines=8) @@ | ||
81 | ||
82 | } |
|
83 | ||
84 | public function error404() |
|
85 | { |
|
86 | $this->container()->get('redirect')->responseCode('404'); |
|
87 | ||
88 | return $this->twig('errors/error.html.twig', [ |
|
89 | 'title' => '404 Page Not Found :: ' . $this->getData('title'), |
|
90 | ]); |
|
91 | } |
|
92 | ||
93 | public function error503() |
|
94 | { |
|
@@ 93-100 (lines=8) @@ | ||
90 | ]); |
|
91 | } |
|
92 | ||
93 | public function error503() |
|
94 | { |
|
95 | $this->container()->get('redirect')->responseCode('503'); |
|
96 | ||
97 | return $this->twig('errors/error.html.twig', [ |
|
98 | 'title' => '503 Service Unavailable :: ' . $this->getData('title'), |
|
99 | ]); |
|
100 | } |
|
101 | ||
102 | public function error500() |
|
103 | { |
|
@@ 102-109 (lines=8) @@ | ||
99 | ]); |
|
100 | } |
|
101 | ||
102 | public function error500() |
|
103 | { |
|
104 | $this->container()->get('redirect')->responseCode('503'); |
|
105 | ||
106 | return $this->twig('errors/503.html.twig', [ |
|
107 | 'title' => '503 Service Unavailable :: ' . $this->getData('title'), |
|
108 | ]); |
|
109 | } |
|
110 | } |
|
111 |