interface NumberFormatterFactoryInterface in Commerce Core 8.2
Defines the interface for NumberFormatter factories.
Hierarchy
- interface \Drupal\commerce_price\NumberFormatterFactoryInterface
Expanded class hierarchy of NumberFormatterFactoryInterface
All classes that implement NumberFormatterFactoryInterface
Deprecated
Replaced by CurrencyFormatterInterface.
File
- modules/
price/ src/ NumberFormatterFactoryInterface.php, line 10
Namespace
Drupal\commerce_priceView source
interface NumberFormatterFactoryInterface {
/**
* Creates an instance of the number formatter for the current locale.
*
* @return \Drupal\commerce_price\LegacyNumberFormatter
* The created number formatter.
*/
public function createInstance();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NumberFormatterFactoryInterface:: |
public | function | Creates an instance of the number formatter for the current locale. | 1 |