You are here

public function NumberFormatterFactoryInterface::createInstance in Commerce Core 8.2

Creates an instance of the number formatter for the current locale.

Return value

\Drupal\commerce_price\LegacyNumberFormatter The created number formatter.

1 method overrides NumberFormatterFactoryInterface::createInstance()
NumberFormatterFactory::createInstance in modules/price/src/NumberFormatterFactory.php
Creates an instance of the number formatter for the current locale.

File

modules/price/src/NumberFormatterFactoryInterface.php, line 18

Class

NumberFormatterFactoryInterface
Defines the interface for NumberFormatter factories.

Namespace

Drupal\commerce_price

Code

public function createInstance();