FileViewFinder

FileViewFinder

class FileViewFinder implements ViewFinderInterface (View source)

Methods

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.

void addExtension(string $extension)

Register an extension with the view finder.

bool hasHintInformation(string $name)

Returns whether or not the view specify a hint information.

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.

doc_Laravel
2016-11-02 16:18:53
Comments
Leave a Comment

Please login to continue.