W3cubDocs

/Laravel 5.8

PhpEngine

class PhpEngine implements Engine (View source)

Methods

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.

void handleViewException(Exception $e, int $obLevel)

Handle a view exception.

Details

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

Get the evaluated contents of the view.

Parameters

string $path
array $data

Return Value

string

protected string evaluatePath(string $__path, array $__data)

Get the evaluated contents of the view at the given path.

Parameters

string $__path
array $__data

Return Value

string

protected void handleViewException(Exception $e, int $obLevel)

Handle a view exception.

Parameters

Exception $e
int $obLevel

Return Value

void

Exceptions

Exception

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