ViewFinderInterface
interface ViewFinderInterface (View source)
Constants
| HINT_PATH_DELIMITER |
Hint path delimiter value. |
Methods
Get the fully qualified location of the view.
Add a location to the finder.
Add a namespace hint to the finder.
Prepend a namespace hint to the finder.
Replace the namespace hints for the given namespace.
Add a valid view extension to the finder.
Flush the cache of located views.
Details
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.