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