You are here

public function NumberFormatterFactoryInterface::createInstance in Price 8

Same name and namespace in other branches
  1. 3.x src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface::createInstance()
  2. 3.0.x src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface::createInstance()

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

Return value

\Drupal\price\LegacyNumberFormatter The created number formatter.

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

File

src/NumberFormatterFactoryInterface.php, line 18

Class

NumberFormatterFactoryInterface
Defines the interface for NumberFormatter factories.

Namespace

Drupal\price

Code

public function createInstance();