class Helpers

internal  
 

Latte helpers.

Properties

static array<string,int> $emptyElements

Methods

static string|null
getSuggestion(array $items, string $value)

Finds the best suggestion.

toReflection($callable)

intentionally without callable typehint, because it generates bad error messages

static array
sortBeforeAfter(array $list)

No description

Details

at line 30
static string|null getSuggestion(array $items, string $value)

Finds the best suggestion.

Parameters

array $items
string $value

Return Value

string|null

at line 46
static ReflectionFunctionAbstract toReflection($callable)

intentionally without callable typehint, because it generates bad error messages

Parameters

$callable

Return Value

ReflectionFunctionAbstract

at line 62
static array sortBeforeAfter(array $list)

No description

Parameters

array $list

Return Value

array