PhpViewFilesystemFinder
class PhpViewFilesystemFinder implements ViewFinderInterface (View source)
Render view files with php.
Methods
__construct(string[] $directories = [])
Constructor.
string[]
getDirectories()
Get the custom views directories.
void
setDirectories(string[] $directories)
Set the custom views directories.
boolean
exists(string $view)
Check if a view exists.
string
canonical(string $view)
Return a canonical string representation of the view name.
string
resolveFilepath(string $view)
Resolve a view to an absolute filepath.
Details
at line 31
__construct(string[] $directories = [])
Constructor.
at line 41
string[]
getDirectories()
Get the custom views directories.
at line 52
void
setDirectories(string[] $directories)
Set the custom views directories.
at line 59
boolean
exists(string $view)
Check if a view exists.
at line 66
string
canonical(string $view)
Return a canonical string representation of the view name.
at line 76
string
resolveFilepath(string $view)
Resolve a view to an absolute filepath.