Fully Qualified Name: | Laminas\View\Resolver\AggregateResolver |
Implements: | Countable, IteratorAggregate, ResolverInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | AggregateResolver |
attach() | Attach a resolver | AggregateResolver |
count() | Return count of attached resolvers | AggregateResolver |
getIterator() | IteratorAggregate: return internal iterator | AggregateResolver |
getLastLookupFailure() | Get last lookup failure | AggregateResolver |
getLastSuccessfulResolver() | Return the last successful resolver, if any | AggregateResolver |
resolve() | Resolve a template/pattern name to a resource the renderer can consume | AggregateResolver |
Constructor
Instantiate the internal priority queue
Returns:
Attach a resolver
Parameter Name | Type | Description |
---|---|---|
$resolver | \Resolver | |
$priority | int |
Returns: \AggregateResolver
Return count of attached resolvers
Returns: int
IteratorAggregate: return internal iterator
Returns: \PriorityQueue
Get last lookup failure
Returns: bool|string
Return the last successful resolver, if any
Returns: \Resolver
Resolve a template/pattern name to a resource the renderer can consume
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$renderer | null|\Renderer |
Returns: bool|string