abstract class EngineAbstract (View source)

Constants

HELPERS

The helper lists

Properties

protected string $name

The template engine name

protected Loader $config

The configuration loader

Methods

mixed
render(string $filename, array $data = [])

Make template rendering

string
checkParseFile(string $filename, bool $extended = true)

Check the parsed file

mixed
getName()

Get the engine name

Details

abstract mixed render(string $filename, array $data = [])

Make template rendering

Parameters

string $filename
array $data

Return Value

mixed

protected string checkParseFile(string $filename, bool $extended = true)

Check the parsed file

Parameters

string $filename
bool $extended

Return Value

string

Exceptions

ViewException

mixed getName()

Get the engine name

Return Value

mixed