class Helpers

internal  
 

Latte helpers.

Properties

static array $emptyElements

Methods

static callable
checkCallback($callable)

Checks callback.

static string
optimizePhp($source, $lineLength = 80)

Removes unnecessary blocks of PHP code.

Details

at line 30
static callable checkCallback($callable)

Checks callback.

Parameters

$callable

Return Value

callable

at line 44
static string optimizePhp($source, $lineLength = 80)

Removes unnecessary blocks of PHP code.

Parameters

$source
$lineLength

Return Value

string