diff options
author | friendica <info@friendica.com> | 2014-12-30 15:25:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-30 15:25:06 -0800 |
commit | abd345f80f5074d325fd137e48a23925eaa66802 (patch) | |
tree | c5a469a001b2eb9ae5482b93b557a42e3181208f /library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php | |
parent | 2f650b74d35335815c48537cd03c81cc92a3c4f8 (diff) | |
parent | ae9d08267c632cae36a4ebd34c2077fd0051e0e7 (diff) | |
download | volse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.tar.gz volse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.tar.bz2 volse-hubzilla-abd345f80f5074d325fd137e48a23925eaa66802.zip |
Merge branch 'master' into trinidad
Diffstat (limited to 'library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php')
-rw-r--r-- | library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php b/library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php new file mode 100644 index 000000000..ff162b522 --- /dev/null +++ b/library/intl/src/NumberFormat/NumberFormatRepositoryInterface.php @@ -0,0 +1,19 @@ +<?php + +namespace CommerceGuys\Intl\NumberFormat; + +/** + * Number format repository interface. + */ +interface NumberFormatRepositoryInterface +{ + /** + * Returns a number format instance for the provided locale. + * + * @param string $locale The locale (i.e. fr-FR). + * @param string $fallbackLocale A fallback locale (i.e "en"). + * + * @return NumberFormatInterface + */ + public function get($locale, $fallbackLocale = null); +} |