Symfony\Component\Intl\Locale\Locale::lookup
Not supported. Returns the closest language tag for the locale
Signature
public function lookup(array
$langtag,
[string
$locale = false,
[Boolean
$canonicalize = false,
[string
$default = null]]] )
Parameters
$langtag
—
array
- A list of the language tags to compare to locale
$locale
—
string
- The locale to use as the language range when matching
$canonicalize
—
object
- If true, the arguments will be converted to canonical form before matching
$default
—
string
- The locale to use if no match is found
Errors/Exceptions
-
MethodNotImplementedException