render()
render(string $file, array $data) : void
Render the view file and expose the data to it.
Parameters
| string | $file | to include as view file. |
| array | $data | to expose within the view. |
Throws
- \Anax\View\Exception
when template file is not found.