Helpers
class Helpers
internal |
Latte helpers.
Methods
static string|null
getSuggestion(array $items, string $value)
Finds the best suggestion.
static ReflectionFunctionAbstract
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.
at line 42
static ReflectionFunctionAbstract
toReflection($callable)
intentionally without callable typehint, because it generates bad error messages
at line 58
static array
sortBeforeAfter(array $list)
No description
at line 96
static void
removeNulls(array $items)
No description