Function view
Located at
app/Kernel/Helpers/aliases.php
string |
$view |
The location of the $template within the /src/view folder |
array |
$vars = [] |
The vars to add to the view |
string |
$template = '' |
An optional template if we don't want to use defaultTemplate.php |
string
|
The rendered $template with $vars |
Exception
|
If a render problem occurs |