1 | <?php |
||
11 | class Page implements /* PageRenderInterface, */ InjectionAwareInterface |
||
12 | { |
||
13 | use InjectionAwareTrait; |
||
14 | |||
15 | |||
16 | |||
17 | /** |
||
18 | * @var string $namespace A namespace to prepend each template file. |
||
19 | */ |
||
20 | private $namespace = "anax/v1"; |
||
21 | |||
22 | |||
23 | |||
24 | /** |
||
25 | * Render a standard web page using a specific layout. |
||
26 | * |
||
27 | * @param array $data variables to expose to layout view. |
||
28 | * @param integer $status code to use when delivering the result. |
||
29 | * |
||
30 | * @return void |
||
31 | * |
||
32 | * @SuppressWarnings(PHPMD.ExitExpression) |
||
33 | */ |
||
34 | public function render($data, $status = 200) |
||
58 | } |
||
59 |