You are here

public function NumberFormatRepository::__construct in Commerce Core 8.2

Creates a NumberFormatRepository instance.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

File

modules/price/src/Repository/NumberFormatRepository.php, line 32

Class

NumberFormatRepository
Defines the number format repository.

Namespace

Drupal\commerce_price\Repository

Code

public function __construct(EventDispatcherInterface $event_dispatcher) {
  parent::__construct();
  $this->eventDispatcher = $event_dispatcher;
}