PHP Class Lavender\Cloud\Sina\View\Engines\SaeCompilerEngine

Inheritance: extends SaePhpEngine
Datei anzeigen Open project: chekun/laravel4sae

Protected Properties

Property Type Description
$compiler Illuminate\View\Compilers\CompilerInterface The Blade compiler instance.

Public Methods

Method Description
__construct ( Illuminate\View\Compilers\CompilerInterface $compiler ) : void Create a new Blade view engine instance.
get ( string $path, array $data = [] ) : string Get the evaluated contents of the view.
getCompiler ( ) : Illuminate\View\Compilers\CompilerInterface Get the compiler implementation.

Method Details

__construct() public method

Create a new Blade view engine instance.
public __construct ( Illuminate\View\Compilers\CompilerInterface $compiler ) : void
$compiler Illuminate\View\Compilers\CompilerInterface
return void

get() public method

Get the evaluated contents of the view.
public get ( string $path, array $data = [] ) : string
$path string
$data array
return string

getCompiler() public method

Get the compiler implementation.
public getCompiler ( ) : Illuminate\View\Compilers\CompilerInterface
return Illuminate\View\Compilers\CompilerInterface

Property Details

$compiler protected_oe property

The Blade compiler instance.
protected CompilerInterface,Illuminate\View\Compilers $compiler
return Illuminate\View\Compilers\CompilerInterface