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 29
__construct(string $tempDir, bool $debugMode = false)

No description

Parameters

string $tempDir
bool $debugMode

at line 36
Schema getConfigSchema()

No description

Return Value

Schema

at line 48
loadConfiguration()

No description

at line 86
beforeCompile()

No description

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

No description

Parameters

TemplateFactory $factory
Bar $bar
bool $all

at line 122
void addMacro(string $macro)

No description

Parameters

string $macro

Return Value

void

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

No description

Parameters

Statement|string $extension

Return Value

void