1 | <?php |
||
24 | class NullView implements ViewInterface, NullObject |
||
25 | { |
||
26 | |||
27 | /** |
||
28 | * Render the view. |
||
29 | * |
||
30 | * @since 0.1.0 |
||
31 | * |
||
32 | * @param array $context Optional. The context in which to render the view. |
||
33 | * @param bool $echo Optional. Whether to echo the output immediately. Defaults to false. |
||
34 | * |
||
35 | * @return string|void Rendered HTML or nothing, depending on $echo argument. |
||
36 | */ |
||
37 | 1 | public function render(array $context = [], $echo = false) |
|
43 | } |
||
44 |