Calculator
2 years ago
Currencies
2 years ago
Exception
2 years ago
Exchange
2 years ago
Formatter
2 years ago
PHPUnit
2 years ago
Parser
2 years ago
Calculator.php
6 years ago
Converter.php
2 years ago
Currencies.php
2 years ago
Currency.php
2 years ago
CurrencyPair.php
2 years ago
Exception.php
6 years ago
Exchange.php
2 years ago
Money.php
2 years ago
MoneyFactory.php
5 years ago
MoneyFormatter.php
2 years ago
MoneyParser.php
6 years ago
Number.php
2 years ago
MoneyFormatter.php
21 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 | * @return string |
| 16 | * |
| 17 | * Exception\FormatterException |
| 18 | */ |
| 19 | public function format(Money $money); |
| 20 | } |
| 21 |