interface Illuminate / View / ViewFinderInterface
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ViewFinderInterface

Constants

public

HINT_PATH_DELIMITER string

Hint path delimiter value.

Default: '::'

Methods

public

find ( $view ) : string

Get the fully qualified location of the view.

Parameters

  • $view string
public

addLocation ( $location ) : void

Add a location to the finder.

Parameters

  • $location string
public

addNamespace ( $namespace , $hints ) : void

Add a namespace hint to the finder.

Parameters

  • $namespace string
  • $hints string|array
public

prependNamespace ( $namespace , $hints ) : void

Prepend a namespace hint to the finder.

Parameters

  • $namespace string
  • $hints string|array
public

replaceNamespace ( $namespace , $hints ) : void

Replace the namespace hints for the given namespace.

Parameters

  • $namespace string
  • $hints string|array
public

addExtension ( $extension ) : void

Add a valid view extension to the finder.

Parameters

  • $extension string
public

flush ( ) : void

Flush the cache of located views.