diff options
author | git-marijus <mario@mariovavti.com> | 2017-11-04 10:22:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 10:22:58 +0100 |
commit | cfbeb1655daba511f4843b8ba070a247e233fb29 (patch) | |
tree | 8ef7bf1e06a5d223228b370121bda97695af7d0e /library/intl/src/Language/LanguageRepositoryInterface.php | |
parent | 1a737be2b408135177a9e94dcffd0f68c0aca90b (diff) | |
parent | 39c194c5c32e49f461b8b42a3f4e411a3a5cde3c (diff) | |
download | volse-hubzilla-cfbeb1655daba511f4843b8ba070a247e233fb29.tar.gz volse-hubzilla-cfbeb1655daba511f4843b8ba070a247e233fb29.tar.bz2 volse-hubzilla-cfbeb1655daba511f4843b8ba070a247e233fb29.zip |
Merge branch 'dev' into docu
Diffstat (limited to 'library/intl/src/Language/LanguageRepositoryInterface.php')
-rw-r--r-- | library/intl/src/Language/LanguageRepositoryInterface.php | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/library/intl/src/Language/LanguageRepositoryInterface.php b/library/intl/src/Language/LanguageRepositoryInterface.php deleted file mode 100644 index ebdc0200a..000000000 --- a/library/intl/src/Language/LanguageRepositoryInterface.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php - -namespace CommerceGuys\Intl\Language; - -/** - * Language repository interface. - */ -interface LanguageRepositoryInterface -{ - /** - * Returns a language instance 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"). - * - * @return LanguageInterface - */ - public function get($languageCode, $locale = null, $fallbackLocale = null); - - /** - * Returns all available language instances. - * - * @param string $locale The locale (i.e. fr-FR). - * @param string $fallbackLocale A fallback locale (i.e "en"). - * - * @return array An array of language implementing the LanguageInterface, - * keyed by language code. - */ - public function getAll($locale = null, $fallbackLocale = null); -} |