\WebinoDraw\View\RendererDrawRenderer

Summary

Methods
Properties
Constants
__construct()
getEngine()
setResolver()
render()
No public properties found
No constants found
No protected methods found
$draw
$renderer
N/A
No private methods found
No private properties found
N/A

Properties

$renderer

$renderer : \Zend\View\Renderer\RendererInterface

Type

\Zend\View\Renderer\RendererInterface

Methods

__construct()

__construct(\WebinoDraw\Service\DrawService|object  $draw, \Zend\View\Renderer\RendererInterface|object  $renderer) 

Parameters

\WebinoDraw\Service\DrawService|object $draw
\Zend\View\Renderer\RendererInterface|object $renderer

getEngine()

getEngine() : mixed

Returns

mixed

setResolver()

setResolver(\Zend\View\Resolver\ResolverInterface  $resolver) : \Zend\View\Renderer\RendererInterface

Parameters

\Zend\View\Resolver\ResolverInterface $resolver

Returns

\Zend\View\Renderer\RendererInterface

render()

render(string|\Zend\View\Model\ViewModel  $nameOrModel, null|array|\ArrayAccess  $values = null) : string

Render & draw the template

Parameters

string|\Zend\View\Model\ViewModel $nameOrModel

The script/resource process, or a view model

null|array|\ArrayAccess $values

Values to use during rendering

Returns

string —

The script output