class Helpers

internal  
 

Latte helpers.

Properties

static array<string,int> $emptyElements

Methods

static callable
checkCallback(mixed $callable)

Checks callback.

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

Finds the best suggestion.

static bool
removeFilter(string $modifier, string $filter)

No description

static bool
startsWith(string $haystack, string $needle)

Starts the $haystack string with the prefix $needle?

Details

at line 30
static callable checkCallback(mixed $callable)

Checks callback.

Parameters

mixed $callable

Return Value

callable

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

Finds the best suggestion.

Parameters

array $items
$value

Return Value

string|null

at line 59
static bool removeFilter(string $modifier, string $filter)

No description

Parameters

string $modifier
string $filter

Return Value

bool

at line 69
static bool startsWith(string $haystack, string $needle)

Starts the $haystack string with the prefix $needle?

Parameters

string $haystack
string $needle

Return Value

bool