Appearance
Radiate\View\View
Properties
$view
The view
php
protected string $view$path
The view directory
php
protected string $path$data
The view data
php
protected array $dataMethods
__construct
Create the view instance
php
public function __construct(string $view, string $path, array $data = []): voidProperties
$viewThe view$pathThe view path$dataThe data to pass to the view
render
Get the string contents of the view.
php
public function render(): stringevaluatePath
Get the evaluated contents of the view at the given path.
php
protected function evaluatePath(string $__path, array $__data): stringProperties
$__pathThe view path$__dataThe data to pass to the view
__toString
Return the view.
php
public function __toString(): string