/** * {@inheritdoc} */ public function format($amount, $currency = null, $locale = null) { return $this->formatter->format($amount, $currency, $locale); }
public function format(float $amount, string $currency = null, string $locale = null) : string { return $this->formatter->format($amount, $currency, $locale); }