W3cubDocs

/Laravel 5.1

ViewFinderInterface

interface ViewFinderInterface (View source)

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 addExtension( string $extension)

Add a valid view extension to the finder.

Details

string find( string $view)

Get the fully qualified location of the view.

Parameters

string $view

Return Value

string

void addLocation( string $location)

Add a location to the finder.

Parameters

string $location

Return Value

void

void addNamespace( string $namespace, string|array $hints)

Add a namespace hint to the finder.

Parameters

string $namespace
string|array $hints

Return Value

void

void prependNamespace( string $namespace, string|array $hints)

Prepend a namespace hint to the finder.

Parameters

string $namespace
string|array $hints

Return Value

void

void addExtension( string $extension)

Add a valid view extension to the finder.

Parameters

string $extension

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/View/ViewFinderInterface.html