Tpl::load()
Renders the template
Tpl::load(string|null $file = null, array $data = [ ]): string
Parameters
Name | Type | Default |
---|---|---|
$file | string ornull |
null
|
$data | array |
[ ]
|
Return type
string
Exceptions
Type | Description |
---|---|
Throwable |