class Simple extends Engine implements EngineInterface

Simple Engine

Properties

null $engine

Methods

__construct(ViewInterface $view)

Engine constructor.

from Engine
mixed
__call(string $name, array $parameters)

调用 Engine 实例中的方法

from Engine
string
render(string $path, array $vars = null)

Render

Details

in Engine at line 25
__construct(ViewInterface $view)

Engine constructor.

Parameters

ViewInterface $view

in Engine at line 37
mixed __call(string $name, array $parameters)

调用 Engine 实例中的方法

Parameters

string $name 方法名
array $parameters 参数

Return Value

mixed

at line 25
string render(string $path, array $vars = null)

Render

Parameters

string $path 视图文件路径
array $vars

Return Value

string

Exceptions

Exception