class
Illuminate
/
View
/
Engines
/
CompilerEngine
You are viewing an older version of the documentation. For the latest, please visit master documentation.
CompilerEngine
Extends
Properties
protected
$lastCompiled array
A stack of the last compiled templates.
Default: []
Methods
public
__construct ( CompilerInterface $compiler , Filesystem $files ) : void
Create a new compiler engine instance.
Parameters
- $compiler CompilerInterface
- $files Filesystem |null
public
get ( $path , array $data ) : string
Get the evaluated contents of the view.
Parameters
- $path string
- $data array
protected
handleViewException ( Throwable $e , $obLevel ) : void
Handle a view exception.
Parameters
- $e Throwable
- $obLevel int