private __construct ( string $amount, |
||
$amount | string | Amount, expressed as a string (eg '10.00') |
$currency |
/** * @param integer $amount */ public function __construct($amount, Currency $currency = null) { if ($currency === null) { $currency = new Currency(self::DEFAULT_CURRENCY_NAME); } parent::__construct($amount, $currency); }