TemplateInterface
in
View template interface
Tags
Table of Contents
Methods
- getTemplate() : string
- Get view template
- render() : string
- Render the view and return the output
- setTemplate() : TemplateInterface
- Set view template
Methods
getTemplate()
Get view template
public
getTemplate() : string
Return values
stringrender()
Render the view and return the output
public
render(array<string|int, mixed> $data) : string
Parameters
- $data : array<string|int, mixed>
Return values
stringsetTemplate()
Set view template
public
setTemplate(string $template) : TemplateInterface
Parameters
- $template : string