PhpEngine
class PhpEngine implements Engine (View source)
Properties
protected Filesystem | $files | The filesystem instance. |
Methods
void
string
get(string $path, array $data = [])
Get the evaluated contents of the view.
string
evaluatePath(string $path, array $data)
Get the evaluated contents of the view at the given path.
void
Details
void
__construct(Filesystem $files)
Create a new file engine instance.
string
get(string $path, array $data = [])
Get the evaluated contents of the view.
protected string
evaluatePath(string $path, array $data)
Get the evaluated contents of the view at the given path.
protected void
handleViewException(Throwable $e, int $obLevel)
Handle a view exception.