Radiate\View\Finder
Properties
$files 
The filesystem
protected \Radiate\Filesystem\Filesystem $files
$paths 
The view paths
protected array $paths
$views 
The views
protected array $views
$extensions 
Register a view extension with the finder
protected array $extensions
Methods
__construct 
Create the finder instance
public function __construct(\Radiate\Filesystem\Filesystem $files, string|array $paths): void
Properties
- $filesThe filesystem instance
- $pathsThe view paths
find 
Get the fully qualified location of the view.
public function find(string $name): string
Properties
- $nameThe view name
findInPaths 
Find the given view in the list of paths.
protected function findInPaths(string $name, array $paths): string
Properties
- $nameThe view name
- $pathsThe view paths
getPossibleViewFiles 
Get an array of possible view files.
protected function getPossibleViewFiles(string $name): array
Properties
- $nameThe view name
 Radiate Framework
 Radiate Framework