1 | <?php |
||
10 | class ErrorController |
||
11 | { |
||
12 | use \Anax\DI\TInjectionAware; |
||
13 | |||
14 | |||
15 | |||
16 | /** |
||
17 | * Display a page for a HTTP status code. |
||
18 | * |
||
19 | * @param string code status code to set the http header. |
||
20 | * @param string message an optional message to display together with the error code. |
||
21 | * |
||
22 | * @return void |
||
23 | */ |
||
24 | public function statusCodeAction($code = null, $message = null) |
||
46 | |||
47 | |||
48 | |||
49 | /** |
||
50 | * Display a list of valid routes. |
||
51 | * |
||
52 | * @return void |
||
53 | */ |
||
54 | public function displayValidRoutesAction() |
||
63 | } |
||
64 |