Symfony\Component\Locale\Locale::getLanguages
Returns all available language codes
Signature
public function getLanguages()
Returns
- array
- The language codes
Errors/Exceptions
-
RuntimeException
- When the resource bundles cannot be loaded