Symfony\Component\Intl\Locale\Locale::filterMatches
Not supported. Checks if a language tag filter matches with locale
Signature
public function filterMatches(string
$langtag,
[string
$locale = false,
[Boolean
$canonicalize = false]] )
Parameters
$langtag
— string- The language tag to check
$locale
— string- The language range to check against
$canonicalize
— object
Returns
- string
- The corresponding locale code