Symfony\Component\Intl\ResourceBundle\LocaleBundleInterface::getLocaleNames
Returns the names of all known locales.
Signature
public function getLocaleNames([string
$locale = null] )
Parameters
$locale
— string- Optional. The locale to return the names in.
Defaults to .
Returns
- array
- A list of locale names indexed by locale codes.