You are here

interface NumberFormatterFactoryInterface in Commerce Core 8.2

Defines the interface for NumberFormatter factories.

Hierarchy

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_price
View 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

Namesort descending Modifiers Type Description Overrides
NumberFormatterFactoryInterface::createInstance public function Creates an instance of the number formatter for the current locale. 1