/** * @inheritdoc */ public function toWords($number) { $converter = new Words(); return $converter->transformToWords($number, 'tr'); }
/** * @param int $amount * @param string $currency * * @return string */ public function toWords($amount, $currency) { $converter = new Words(); return $converter->transformToCurrency($amount, 'en_US', $currency); }