Constructor
Instantiate and optionally populate template map.
| Parameters: | array|Traversable – |
|---|
IteratorAggregate: return internal iterator
| Return type: | Traversable |
|---|
Set (overwrite) template map
Maps should be arrays or Traversable objects with name => path pairs
| Parameters: | array|Traversable – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | TemplateMapResolver |
Add an entry to the map
| Parameters: |
|
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | TemplateMapResolver |
Merge internal map with provided map
| Parameters: | array|Traversable – |
|---|---|
| Throws ExceptionInvalidArgumentException: | |
| Return type: | TemplateMapResolver |
Does the resolver contain an entry for the given name?
| Parameters: | string – |
|---|---|
| Return type: | bool |
Retrieve a template path by name
| Parameters: | string – |
|---|---|
| Return type: | false|string |
| Throws : | ExceptionDomainException if no entry exists |
Resolve a template/pattern name to a resource the renderer can consume
| Parameters: |
|
|---|---|
| Return type: | string |