\Pop\View\TemplateTemplateInterface

View template interface

Summary

Methods
Constants
getTemplate()
setTemplate()
render()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getTemplate()

getTemplate() : string

Get view template

Returns

string

render()

render(array  $data) : string

Render the view and return the output

Parameters

array $data

Throws

\Pop\View\Template\Exception

Returns

string