public function __construct($amount, $currency, $locale = null) { if (!empty($locale)) { static::$defaultLocale = $locale; } parent::__construct($amount, $currency); }