__construct()
canRenderTrees()
getEngine()
getFilterChain()
init()
render()
setFilterChain()
setResolver()
$__filterChain
Class for Zend\View\Model\ConsoleModel to help enforce private constructs.
Note: all private variables in this class are prefixed with "__". This is to mark them as part of the internal implementation, and thus prevent conflict with variables injected into the renderer.
__construct(array $config)
todo | handle passing helper manager, options |
---|---|
todo | handle passing filter chain, options |
todo | handle passing variables object, options |
todo | handle passing resolver object, options |
array
Configuration key-value pairs.
canRenderTrees() : bool
see | \Zend\View\Renderer\TreeRendererInterface |
---|
bool
getEngine() : \Zend\View\Renderer\ConsoleRenderer
Returns the object instance, as it is its own template engine
getFilterChain() : \Zend\Filter\FilterChain
init() : void
Triggered by the constructor as its final action.
render(string | \Zend\View\Model\ModelInterface $model, null | array | \Traversable $values) : string
nullarray\Traversable
Values to use when rendering. If none provided, uses those in the composed variables container.
string
Console output.setFilterChain(\Zend\Filter\FilterChain $filters) : \Zend\View\Renderer\ConsoleRenderer
setResolver(\Zend\View\Resolver\ResolverInterface $resolver) : \Zend\View\Renderer\RendererInterface