Calculator
4 years ago
Currencies
4 years ago
Exception
4 years ago
Exchange
4 years ago
Formatter
4 years ago
PHPUnit
4 years ago
Parser
4 years ago
Calculator.php
4 years ago
Converter.php
4 years ago
Currencies.php
4 years ago
Currency.php
4 years ago
CurrencyPair.php
4 years ago
Exception.php
4 years ago
Exchange.php
4 years ago
Money.php
4 years ago
MoneyFactory.php
4 years ago
MoneyFormatter.php
4 years ago
MoneyParser.php
4 years ago
Number.php
4 years ago
MoneyFormatter.php
23 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Money; |
| 4 | |
| 5 | /** |
| 6 | * Formats Money objects. |
| 7 | * |
| 8 | * @author Frederik Bosch <f.bosch@genkgo.nl> |
| 9 | */ |
| 10 | interface MoneyFormatter |
| 11 | { |
| 12 | /** |
| 13 | * Formats a Money object as string. |
| 14 | * |
| 15 | * @param Money $money |
| 16 | * |
| 17 | * @return string |
| 18 | * |
| 19 | * Exception\FormatterException |
| 20 | */ |
| 21 | public function format(Money $money); |
| 22 | } |
| 23 |