ViewFinderInterface
interface ViewFinderInterface
Constants
| HINT_PATH_DELIMITER |
Hint path delimiter value. |
Methods
string
find(string $view)
Get the fully-qualified location of the view.
void
addLocation(string $location)
Add a location to the finder.
void
addNamespace(string $namespace, string|array $hints)
Add a namespace hint to the finder.
void
prependNamespace(string $namespace, string|array $hints)
Prepend a namespace hint to the finder.
void
replaceNamespace(string $namespace, string|array $hints)
Replace the namespace hints for the given namespace.
void
addExtension(string $extension)
Add a valid view extension to the finder.
void
flush()
Flush the cache of located views.
void
prependLocation(string $location)
Prepend a location to the finder.
array
getPaths()
Get the active view paths.
Details
at line 19
string
find(string $view)
Get the fully-qualified location of the view.
at line 24
void
addLocation(string $location)
Add a location to the finder.
at line 30
void
addNamespace(string $namespace, string|array $hints)
Add a namespace hint to the finder.
at line 36
void
prependNamespace(string $namespace, string|array $hints)
Prepend a namespace hint to the finder.
at line 42
void
replaceNamespace(string $namespace, string|array $hints)
Replace the namespace hints for the given namespace.
at line 48
void
addExtension(string $extension)
Add a valid view extension to the finder.
at line 54
void
flush()
Flush the cache of located views.
at line 59
void
prependLocation(string $location)
Prepend a location to the finder.
at line 65
array
getPaths()
Get the active view paths.