The rendering engine using Mustache.

package Owl
author Dave Widmer

 Methods

Creates a new mustache engine.

__construct() 

Render the given template and view object.

render(string $template, mixed $data, array $partials) : string

Parameters

$template

string

The template to render

$data

mixed

The view object (or array) to add'

$partials

array

A list of partials

Returns

stringThe rendered template in html

 Properties

 

Mustache_Engine The mustache rendering engine.

$mustache