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 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 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 53
loadConfiguration()

No description

at line 98
beforeCompile()

No description

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

No description

Parameters

TemplateFactory $factory
Bar $bar
bool $all

Return Value

void

at line 137
void addMacro(string $macro)

No description

Parameters

string $macro

Return Value

void

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

No description

Parameters

Statement|string $extension

Return Value

void