class
Illuminate
/
View
/
Engines
/
CompilerEngine
CompilerEngine
Extends
Properties
protected
$lastCompiled array
A stack of the last compiled templates.
Default: []
protected
$compiledOrNotExpired
array
The view paths that were compiled or are not expired, keyed by the path.
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
protected
getMessage ( Throwable $e ) : string
Get the exception message for an exception.
Parameters
- $e Throwable
public
forgetCompiledOrNotExpired ( ) : void
Clear the cache of views that were compiled or not expired.