final class LatteExtension extends CompilerExtension

Latte extension for Nette DI.

Methods

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

No description

Schema
getConfigSchema()

No description

void
loadConfiguration()

No description

void
beforeCompile()

No description

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

No description

Parameters

string $tempDir
bool $debugMode

at line 32
Schema getConfigSchema()

No description

Return Value

Schema

at line 47
void loadConfiguration()

No description

Return Value

void

at line 103
void beforeCompile()

No description

Return Value

void

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

No description

Parameters

TemplateFactory $factory
Bar $bar
bool $all

Return Value

void

at line 142
void addMacro(string $macro)

No description

Parameters

string $macro

Return Value

void

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

No description

Parameters

Statement|string $extension

Return Value

void