class CompilerEngine extends PhpEngine (View source)
protected Filesystem | $files | The filesystem instance. | from PhpEngine |
protected CompilerInterface | $compiler | The Blade compiler instance. | |
protected array | $lastCompiled | A stack of the last compiled templates. |
void | __construct(CompilerInterface $compiler, Filesystem $files = null) Create a new compiler engine instance. | |
string | get(string $path, array $data = []) Get the evaluated contents of the view. | |
string | evaluatePath(string $path, array $data) Get the evaluated contents of the view at the given path. | from PhpEngine |
void | handleViewException(Throwable $e, int $obLevel) Handle a view exception. | |
string | getMessage(Throwable $e) Get the exception message for an exception. | |
CompilerInterface | getCompiler() Get the compiler implementation. |
Create a new compiler engine instance.
Get the evaluated contents of the view.
Get the evaluated contents of the view at the given path.
Handle a view exception.
Get the exception message for an exception.
Get the compiler implementation.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/View/Engines/CompilerEngine.html