final class ViewEngineDecorator implements Engine

Constants

CONTEXT_KEY

Methods

__construct(Engine $engine)

Create a new view engine decorator instance.

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

Get the evaluated contents of the view.

mixed
__call(string $name, array $arguments)

Proxy method calls to the underlying engine.

Details

at line 19
__construct(Engine $engine)

Create a new view engine decorator instance.

Parameters

Engine $engine

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

Get the evaluated contents of the view.

Parameters

string $path
array $data

Return Value

string

at line 57
mixed __call(string $name, array $arguments)

Proxy method calls to the underlying engine.

Parameters

string $name
array $arguments

Return Value

mixed