package Default

 Methods

Constructor

__construct() 

Instantiate the internal priority queue

Attach a resolver

attach(\Zend\View\Resolver\ResolverInterface $resolver, integer $priority = 1) : \Zend\View\Resolver\AggregateResolver

Parameters

$resolver

\Zend\View\Resolver\ResolverInterface

$priority

integer

Returns

\Zend\View\Resolver\AggregateResolver

Return count of attached resolvers

count() : integer

Returns

integer

IteratorAggregate: return internal iterator

getIterator() : \Zend\Stdlib\PriorityQueue

Returns

\Zend\Stdlib\PriorityQueue

Get last lookup failure

getLastLookupFailure() : false | string

Returns

falsestring

Return the last successful resolver, if any

getLastSuccessfulResolver() : \Zend\View\Resolver\ResolverInterface

Returns

\Zend\View\Resolver\ResolverInterface

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

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

Parameters

$name

string

$renderer

null\Zend\View\Renderer\RendererInterface

Returns

falsestring

 Properties

 

Last lookup failure

$lastLookupFailure : false | string

Default

false
 

$lastSuccessfulResolver

$lastSuccessfulResolver : \Zend\View\Resolver\ResolverInterface

Default

 

$queue

$queue : \Zend\Stdlib\PriorityQueue

Default

 Constants

 

FAILURE_NOT_FOUND

FAILURE_NOT_FOUND = 'AggregateResolver_Failure_Not_Found' 
 

FAILURE_NO_RESOLVERS

FAILURE_NO_RESOLVERS = 'AggregateResolver_Failure_No_Resolvers'