You are here

interface NumberFormatterFactoryInterface in Price 3.0.x

Same name and namespace in other branches
  1. 8 src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface
  2. 3.x src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface

Defines the interface for NumberFormatter factories.

Hierarchy

Expanded class hierarchy of NumberFormatterFactoryInterface

All classes that implement NumberFormatterFactoryInterface

Deprecated

Replaced by CurrencyFormatterInterface.

1 file declares its use of NumberFormatterFactoryInterface
PriceModifiedDefaultFormatter.php in src/Plugin/Field/FieldFormatter/PriceModifiedDefaultFormatter.php

File

src/NumberFormatterFactoryInterface.php, line 10

Namespace

Drupal\price
View source
interface NumberFormatterFactoryInterface {

  /**
   * Creates an instance of the number formatter for the current locale.
   *
   * @return \Drupal\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