Documentation

CompilerEngine extends PhpEngine
in package

Table of Contents

$compiler  : CompilerInterface
The Blade compiler instance.
$lastCompiled  : array<string|int, mixed>
A stack of the last compiled templates.
__construct()  : void
Create a new Blade view engine instance.
get()  : string
Get the evaluated contents of the view.
getCompiler()  : CompilerInterface
Get the compiler implementation.
evaluatePath()  : string
Get the evaluated contents of the view at the given path.
getMessage()  : string
Get the exception message for an exception.
handleViewException()  : void
Handle a view exception.

Properties

$lastCompiled

A stack of the last compiled templates.

protected array<string|int, mixed> $lastCompiled = []

Methods

get()

Get the evaluated contents of the view.

public get(string $path[, array<string|int, mixed> $data = [] ]) : string
Parameters
$path : string
$data : array<string|int, mixed> = []
Return values
string

evaluatePath()

Get the evaluated contents of the view at the given path.

protected evaluatePath(string $__path, array<string|int, mixed> $__data) : string
Parameters
$__path : string
$__data : array<string|int, mixed>
Return values
string

getMessage()

Get the exception message for an exception.

protected getMessage(Exception $e) : string
Parameters
$e : Exception
Return values
string

handleViewException()

Handle a view exception.

protected handleViewException(Exception $e, int $obLevel) : void
Parameters
$e : Exception
$obLevel : int
Tags
throws
Exception
Return values
void

Search results