|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct (array $parsers) | |
| parse ($money, $forceCurrency=null) | |
Parses a string into a Money object using other parsers.
Definition at line 14 of file AggregateMoneyParser.php.
| Money\Parser\AggregateMoneyParser::__construct | ( | array | $parsers | ) |
| MoneyParser[] | $parsers |
Definition at line 27 of file AggregateMoneyParser.php.
| Money\Parser\AggregateMoneyParser::parse | ( | $money, | |
$forceCurrency = null |
|||
| ) |
{Parses a string into a Money object (including currency).
| string | $money | |
| Currency | string | null | $forceCurrency |
| Exception |
Implements Money\MoneyParser.
Definition at line 45 of file AggregateMoneyParser.php.