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

$compiler CompilerInterface

The Blade compiler instance.

Default: null
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

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

protected

getMessage ( Throwable $e ) : string

Get the exception message for an exception.

Parameters

public

getCompiler ( ) : CompilerInterface

Get the compiler implementation.