package Default

 Methods

Constructor

__construct(array<mixed,string>|array<mixed,string[]>|array<mixed,\Zend\View\Resolver\ResolverInterface> $prefixes = array()

Parameters

$prefixes

array<mixed,string>array<mixed,string[]>array<mixed,\Zend\View\Resolver\ResolverInterface>

Set of path prefixes to be matched (array keys), with either a path or an array of paths to use for matching as in the {@see \Zend\View\Resolver\TemplatePathStack}, or a {@see \Zend\View\Resolver\ResolverInterface} to use for view path starting with that prefix

Resolve a template/pattern name to a resource the renderer can consume

resolve(string $name, \Zend\View\Renderer\RendererInterface $renderer = null
inherited_from \Zend\View\Resolver\ResolverInterface::resolve()

Parameters

$name

$renderer

 Properties

 

Array containing prefix as key and "template path stack array" as value

$prefixes : array<mixed,string> | array<mixed,string[]> | array<mixed,\Zend\View\Resolver\ResolverInterface>

Default

array()