Mustache view -- proxies to phly_mustache
category | Phlyty |
---|---|
package | Phlyty |
subpackage | View |
render(string $template, mixed $viewModel, mixed $partials) : string
Proxies to parent object, but provides defaults for $viewModel and $partials.
string
Either a template string or a template file in the template path
mixed
An array or object with items to inject in the template
mixed
A list of partial names/template pairs for rendering as partials
string