CurrencyUnitFormatter.php
Table of Contents
Classes
- CurrencyUnitFormatter
- Builds the unit after an amount from the currency translation ({@see \App\Core\Base\Shared\System\Models\Entities\CurrencyText}::getUnitLabel) for the current language and pluralizes it by count. `unit_label` is a Symfony interval/plural pattern, e.g. `{0}credits|[1,4]credit|[5,Inf]credits`.