PHP Class Roots\Sage\Template\FileViewFinder

Inheritance: extends Illuminate\View\FileViewFinder
Show file Open project: roots/sage

Public Methods

Method Description
getPossibleViewFiles ( string $name ) : array Get an array of possible view files from a single file name.
getPossibleViewFilesFromTemplates ( array $templates ) : array Get an array of possible view files from an array of templates

Method Details

getPossibleViewFiles() public method

Get an array of possible view files from a single file name.
public getPossibleViewFiles ( string $name ) : array
$name string
return array

getPossibleViewFilesFromTemplates() public method

Get an array of possible view files from an array of templates
public getPossibleViewFilesFromTemplates ( array $templates ) : array
$templates array
return array