View
in package
View
This class is responsible for working with templates.
Table of Contents
Methods
- get() : string
- This method loads the template with the required data and returns the finished html as a string.
Methods
get()
This method loads the template with the required data and returns the finished html as a string.
public
get(string $template_name[, array<string|int, mixed> $data = [] ]) : string
Parameters
- $template_name : string
- $data : array<string|int, mixed> = []