class Helpers

internal  
 

Latte helpers.

Properties

static array $emptyElements

Methods

static callable
checkCallback($callable)

Checks callback.

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

Finds the best suggestion.

static bool
removeFilter($modifier, $filter)

No description

static bool
startsWith($haystack, $needle)

Starts the $haystack string with the prefix $needle?

Details

at line 28
static callable checkCallback($callable)

Checks callback.

Parameters

$callable

Return Value

callable

at line 41
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($modifier, $filter)

No description

Parameters

$modifier
$filter

Return Value

bool

at line 70
static bool startsWith($haystack, $needle)

Starts the $haystack string with the prefix $needle?

Parameters

$haystack
$needle

Return Value

bool