This interface specifies the methods necessary to be compatible with the Owl library as a template rendering engine.

package Owl
author Dave Widmer

 Methods

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 content partials to add while rendering

Returns

stringThe rendered template in html