category Zend
package Zend_View
subpackage Resolver

 Methods

Constructor

__construct() 

Instantiate the internal priority queue

Attach a resolver

attach(\Zend\View\Resolver\ResolverInterface $resolver, int $priority) : \Zend\View\Resolver\AggregateResolver

Return count of attached resolvers

count() : int

Returns

int

IteratorAggregate: return internal iterator

getIterator() : \Zend\Stdlib\PriorityQueue

Get last lookup failure

getLastLookupFailure() : false | string

Returns

falsestring

Return the last successful resolver, if any

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

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

resolve(string $name, \Zend\View\Renderer\RendererInterface $renderer) : false | string

Parameters

$name

string

Returns

falsestring

 Properties

 

Last lookup failure

$lastLookupFailure : false | string

 

$lastSuccessfulResolver

$lastSuccessfulResolver : \Zend\View\Resolver\ResolverInterface

 

$queue

$queue : \Zend\Stdlib\PriorityQueue

 Constants

 

FAILURE_NOT_FOUND

FAILURE_NOT_FOUND 

 

FAILURE_NO_RESOLVERS

FAILURE_NO_RESOLVERS