class Illuminate / View / Engines / PhpEngine

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