diff options
author | Mario <mario@mariovavti.com> | 2019-12-04 10:25:11 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-12-04 10:25:11 +0000 |
commit | bde429cff649237984903a252ba1a718e6d74f53 (patch) | |
tree | b2b2570159cfb37689e6ce3b96c3b1b988d676cc /vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php | |
parent | cc9f41df5f83bcab435d6fb941b5a8f5b1457037 (diff) | |
parent | 4c8d33d1eb2a804aa70a7bc677d6c73d0d94816b (diff) | |
download | volse-hubzilla-4.6.tar.gz volse-hubzilla-4.6.tar.bz2 volse-hubzilla-4.6.zip |
Merge branch '4.6RC'4.6
Diffstat (limited to 'vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php')
-rw-r--r-- | vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php b/vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php index dd14250e0..12480fc1b 100644 --- a/vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php +++ b/vendor/commerceguys/intl/src/Language/LanguageRepositoryInterface.php @@ -8,34 +8,30 @@ namespace CommerceGuys\Intl\Language; interface LanguageRepositoryInterface { /** - * Returns a language instance matching the provided language code. + * Gets a language matching the provided language code. * - * @param string $languageCode The language code. - * @param string $locale The locale (i.e. fr-FR). - * @param string $fallbackLocale A fallback locale (i.e "en"). + * @param string $languageCode The language code. + * @param string $locale The locale (i.e. fr-FR). * - * @return LanguageInterface + * @return Language */ - public function get($languageCode, $locale = null, $fallbackLocale = null); + public function get($languageCode, $locale = null); /** - * Returns all language instances. + * Gets all languages. * - * @param string $locale The locale (i.e. fr-FR). - * @param string $fallbackLocale A fallback locale (i.e "en"). + * @param string $locale The locale (i.e. fr-FR). * - * @return array An array of languages implementing the LanguageInterface, - * keyed by language code. + * @return Language[] An array of languages, keyed by language code. */ - public function getAll($locale = null, $fallbackLocale = null); + public function getAll($locale = null); /** - * Returns a list of languages. + * Gets a list of languages. * - * @param string $locale The locale (i.e. fr-FR). - * @param string $fallbackLocale A fallback locale (i.e "en"). + * @param string $locale The locale (i.e. fr-FR). * * @return array An array of language names, keyed by language code. */ - public function getList($locale = null, $fallbackLocale = null); + public function getList($locale = null); } |