public function NumberFormatterFactoryInterface::createInstance in Price 3.x
Same name and namespace in other branches
- 8 src/NumberFormatterFactoryInterface.php \Drupal\price\NumberFormatterFactoryInterface::createInstance()
- 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\priceCode
public function createInstance();