$template->render()
Renders the template with the given template data
$template->render(array $data = [ ]): string
Parameters
| Name | Type | Default |
|---|---|---|
| $data | array |
[ ]
|
Return type
string
This method modifies the existing $template object it is applied to and returns it again.