Skip to content

Kirby 4.4.1

Str::accepted()

Parse accepted values and their quality from an accept string like an Accept or Accept-Language header

Str::accepted(string $input): array

Parameters

Name Type Default
$input * string

Return type

array

Parent class

Kirby\Toolkit\Str