class FileViewFinder implements ViewFinderInterface (View source)
void | __construct(Filesystem $files, array $paths, array $extensions = null) Create a new file view loader instance. | |
string | find(string $name) Get the fully qualified location of the view. | |
void | addLocation(string $location) Add a location to the finder. | |
void | prependLocation(string $location) Prepend 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. | |
$this | replaceNamespace(string $namespace, string|array $hints) Replace the namespace hints for the given namespace. | |
void | addExtension(string $extension) Register an extension with the view finder. | |
bool | hasHintInformation(string $name) Returns whether or not the view name has any hint information. | |
void | flush() Flush the cache of located views. | |
Filesystem | getFilesystem() Get the filesystem instance. | |
array | getPaths() Get the active view paths. | |
array | getHints() Get the namespace to file path hints. | |
array | getExtensions() Get registered extensions. |
Create a new file view loader instance.
Get the fully qualified location of the view.
Add a location to the finder.
Prepend 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.
Register an extension with the view finder.
Returns whether or not the view name has any hint information.
Flush the cache of located views.
Get the filesystem instance.
Get the active view paths.
Get the namespace to file path hints.
Get registered extensions.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/View/FileViewFinder.html