PHP Класс Phlyty\View\MustacheView

Наследование: extends Phly\Mustache\Mustache, implements Phlyty\View\ViewInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
render ( string $template, mixed $viewModel = [], mixed $partials = null ) : string Render a template

Описание методов

render() публичный Метод

Proxies to parent object, but provides defaults for $viewModel and $partials.
public render ( string $template, mixed $viewModel = [], mixed $partials = null ) : string
$template string Either a template string or a template file in the template path
$viewModel mixed An array or object with items to inject in the template
$partials mixed A list of partial names/template pairs for rendering as partials
Результат string