final class LatteExtension extends CompilerExtension

Latte extension for Nette DI.

Methods

__construct(string $tempDir, bool $debugMode = false)

No description

Schema
getConfigSchema()

No description

loadConfiguration()

No description

beforeCompile()

No description

static 
initLattePanel(TemplateFactory $factory, Bar $bar, bool $all = false)

No description

void
addMacro(string $macro)

No description

void
addExtension(Statement|string $extension)

No description

Details

at line 31
__construct(string $tempDir, bool $debugMode = false)

No description

Parameters

string $tempDir
bool $debugMode

at line 38
Schema getConfigSchema()

No description

Return Value

Schema

at line 51
loadConfiguration()

No description

at line 92
beforeCompile()

No description

at line 107
static initLattePanel(TemplateFactory $factory, Bar $bar, bool $all = false)

No description

Parameters

TemplateFactory $factory
Bar $bar
bool $all

at line 128
void addMacro(string $macro)

No description

Parameters

string $macro

Return Value

void

at line 153
void addExtension(Statement|string $extension)

No description

Parameters

Statement|string $extension

Return Value

void