class Helpers

internal  
 

Latte helpers.

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

static void
removeNulls(array $items)

No description

Details

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

Finds the best suggestion.

Parameters

array $items
string $value

Return Value

string|null

at line 42
static ReflectionFunctionAbstract toReflection($callable)

intentionally without callable typehint, because it generates bad error messages

Parameters

$callable

Return Value

ReflectionFunctionAbstract

at line 58
static array sortBeforeAfter(array $list)

No description

Parameters

array $list

Return Value

array

at line 96
static void removeNulls(array $items)

No description

Parameters

array $items

Return Value

void