class FileEngine implements Engine

Methods

__construct(Filesystem $files)

Create a new file engine instance.

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

Get the evaluated contents of the view.

Details

at line 15
__construct(Filesystem $files)

Create a new file engine instance.

Parameters

Filesystem $files

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

Get the evaluated contents of the view.

Parameters

string $path
array $data

Return Value

string