Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0 / 0 |
|
100.00% |
0 / 0 |
CRAP | |
100.00% |
0 / 0 |
|
| <?php | |
| namespace Money; | |
| /** | |
| * Parses a string into a Money object. | |
| * | |
| * @author Frederik Bosch <f.bosch@genkgo.nl> | |
| */ | |
| interface MoneyParser | |
| { | |
| /** | |
| * Parses a string into a Money object (including currency). | |
| * | |
| * @param string $money | |
| * @param string|null $forceCurrency | |
| * | |
| * @return Money | |
| * | |
| * @throws Exception\ParserException | |
| */ | |
| public function parse($money, $forceCurrency = null); | |
| } |