Methods

Constructor

__construct(array $prefixes) 

Parameters

$prefixes

string[]\Zend\View\Resolver\string[][]\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) : mixed

Parameters

$name

string

Returns

mixed

 Properties

 

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

$prefixes : string[] | \Zend\View\Resolver\string[][] | \Zend\View\Resolver\ResolverInterface[]