Appearance
Radiate\View\Factory
Properties
$finder
The file finder
php
protected \Radiate\View\Finder $finderMethods
__construct
Create the factory
Sets an instance of Radiate\View\Finder
php
public function __construct(\Radiate\View\Finder $finder): voidProperties
$finderThe view file finder
make
Make a view.
Returns an instance of Radiate\View\View
php
public function make(string $view, array $data = []): \Radiate\View\ViewProperties
$viewThe view$dataThe data to pass to the view
viewInstance
Create a new view instance from the given arguments.
Returns an instance of Radiate\View\View
php
protected function viewInstance(string $view, string $path, array $data = []): \Radiate\View\ViewProperties
$viewThe view$pathThe view path$dataThe data to pass to the view
normalizeName
Normalize the name (replace dot notation for slashes).
php
protected function normalizeName(string $path): stringProperties
$pathThe path to normalize