class Illuminate / View / Engines / PhpEngine
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

PhpEngine

Implements

Properties

protected

$files Filesystem

The filesystem instance.

Default: null

Methods

public

__construct ( Filesystem $files ) : void

Create a new file engine instance.

Parameters

public

get ( $path , array $data ) : string

Get the evaluated contents of the view.

Parameters

  • $path string
  • $data array
protected

evaluatePath ( $path , $data ) : string

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

Parameters

  • $path string
  • $data array
protected

handleViewException ( Throwable $e , $obLevel ) : void

Handle a view exception.

Parameters