src/I18n/Gettext/Languages/Language.php
public static function getAll()
    {
        $result = [];
        foreach (\array_keys(CldrData::getLanguageNames()) as $cldrLanguageId) {
            $result[] = new Language(CldrData::getLanguageInfo($cldrLanguageId));
        }

        return $result;
    }
public static function getAll()
    {
        $result = [];
        foreach (\array_keys(CldrData::getLanguageNames()) as $cldrLanguageId) {
            $result[] = new Language(CldrData::getLanguageInfo($cldrLanguageId));
        }

        return $result;
    }
public static function getAll ( ) { $ result = [ ] ; foreach ( \ array_keys ( CldrData :: getLanguageNames ( ) ) as $ cldrLanguageId ) { $ result [ ] = new Language ( CldrData :: getLanguageInfo ( $ cldrLanguageId ) ) ; } return $ result ; }
Return a list of all languages available.

@return Language[]
Return a list of all languages available .