name: Languages class_comment: null dependencies: - name: MissingResourceException type: class source: Symfony\Component\Intl\Exception\MissingResourceException properties: [] methods: - name: getLanguageCodes visibility: public parameters: [] comment: '# * Gives access to language-related ICU data. # * # * @author Bernhard Schussek # * @author Roland Franssen # */ # final class Languages extends ResourceBundle # { # /** # * Returns all available languages as two-letter codes. # * # * Languages are returned as lowercase ISO 639-1 two-letter language codes. # * For languages that don''t have a two-letter code, the ISO 639-2 # * three-letter code is used instead. # * # * A full table of ISO 639 language codes can be found here: # * http://www-01.sil.org/iso639-3/codes.asp # * # * @return string[] an array of canonical ISO 639-1 language codes' - name: exists visibility: public parameters: - name: language comment: null - name: getName visibility: public parameters: - name: language - name: displayLocale default: 'null' comment: '# * Gets the language name from its alpha2 code. # * # * A full locale may be passed to obtain a more localized language name, e.g. "American English" for "en_US". # * # * @throws MissingResourceException if the language code does not exist' - name: getNames visibility: public parameters: - name: displayLocale default: 'null' comment: '# * Gets the list of language names indexed with alpha2 codes as keys. # * # * @return array' - name: getAlpha3Code visibility: public parameters: - name: language comment: '# * Returns the ISO 639-2 three-letter code of a language, given a two-letter code. # * # * @throws MissingResourceException if the language has no corresponding three-letter code' - name: getAlpha2Code visibility: public parameters: - name: language comment: '# * Returns the ISO 639-1 two-letter code of a language, given a three letter code. # * # * @throws MissingResourceException if the language has no corresponding three-letter code' - name: getAlpha3Codes visibility: public parameters: [] comment: '# * Returns all available languages as three-letter codes. # * # * Languages are returned as lowercase ISO 639-2 three-letter language codes. # * # * @return string[] an array of canonical ISO 639-2 language codes' - name: alpha3CodeExists visibility: public parameters: - name: language comment: '# * @param string $language ISO 639-2 three-letter language code' - name: getAlpha3Name visibility: public parameters: - name: language - name: displayLocale default: 'null' comment: '# * Gets the language name from its ISO 639-2 three-letter code. # * # * @throws MissingResourceException if the country code does not exists' - name: getAlpha3Names visibility: public parameters: - name: displayLocale default: 'null' comment: '# * Gets the list of language names indexed with ISO 639-2 three-letter codes as keys. # * # * Same as method getNames, but with ISO 639-2 three-letter codes instead of ISO 639-1 codes as keys. # * # * @return array' - name: getPath visibility: protected parameters: [] comment: null traits: - Symfony\Component\Intl\Exception\MissingResourceException interfaces: []