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 /vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.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 'vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php')
-rw-r--r-- | vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php new file mode 100644 index 000000000..debafd6ba --- /dev/null +++ b/vendor/commerceguys/intl/src/NumberFormat/NumberFormatEntityInterface.php @@ -0,0 +1,107 @@ +<?php + +namespace CommerceGuys\Intl\NumberFormat; + +interface NumberFormatEntityInterface extends NumberFormatInterface +{ + /** + * Sets the locale. + * + * @param string $locale The locale (i.e. "en_US"). + * + * @return self + */ + public function setLocale($locale); + + /** + * Sets the numbering system. + * + * @param string $numberingSystem One of the NUMBERING_SYSTEM_ constants. + * + * @return self + */ + public function setNumberingSystem($numberingSystem); + + /** + * Sets the decimal separator. + * + * @param string $decimalSeparator + * + * @return self + */ + public function setDecimalSeparator($decimalSeparator); + + /** + * Sets the grouping separator. + * + * @param string $groupingSeparator + * + * @return self + */ + public function setGroupingSeparator($groupingSeparator); + + /** + * Sets the plus sign. + * + * @param string $plusSign + * + * @return self + */ + public function setPlusSign($plusSign); + + /** + * Sets the minus sign. + * + * @param string $minusSign + * + * @return self + */ + public function setMinusSign($minusSign); + + /** + * Sets the percent sign. + * + * @param string $percentSign + * + * @return self + */ + public function setPercentSign($percentSign); + + /** + * Sets the number pattern used to format decimal numbers. + * + * @param string $decimalPattern The decimal pattern. + * + * @return self + */ + public function setDecimalPattern($decimalPattern); + + /** + * Sets the number pattern used to format percentages. + * + * @param string $percentPattern The percent pattern. + * + * @return self + */ + public function setPercentPattern($percentPattern); + + /** + * Sets the number pattern used to format currency amounts. + * + * @param string $currencyPattern The currency pattern. + * + * @return self + */ + public function setCurrencyPattern($currencyPattern); + + /** + * Sets the number pattern used to format accounting currency amounts. + * + * Most commonly used when formatting amounts on invoices. + * + * @param string $accountingCurrencyPattern The accounting currency pattern. + * + * @return self + */ + public function setAccountingCurrencyPattern($accountingCurrencyPattern); +} |