lithium\template\view\adapter\Simple::template PHP Method

template() public method

Returns a template string
public template ( string $type, array $options ) : string
$type string
$options array
return string
    public function template($type, $options)
    {
        if (isset($options[$type])) {
            return $options[$type];
        }
        return isset($options['template']) ? $options['template'] : '';
    }