W3cubDocs

/Laravel 5.4

CompilerEngine

class CompilerEngine extends PhpEngine (View source)

Methods

string get(string $path, array $data = array())

Get the evaluated contents of the view.

void __construct(CompilerInterface $compiler)

Create a new Blade view engine instance.

CompilerInterface getCompiler()

Get the compiler implementation.

Details

string get(string $path, array $data = array())

Get the evaluated contents of the view.

Parameters

string $path
array $data

Return Value

string

void __construct(CompilerInterface $compiler)

Create a new Blade view engine instance.

Parameters

CompilerInterface $compiler

Return Value

void

CompilerInterface getCompiler()

Get the compiler implementation.

Return Value

CompilerInterface

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/View/Engines/CompilerEngine.html