You are here

public function NumberFormatRepository::__construct in Price 2.0.x

Same name and namespace in other branches
  1. 8 src/Repository/NumberFormatRepository.php \Drupal\price\Repository\NumberFormatRepository::__construct()
  2. 3.x src/Repository/NumberFormatRepository.php \Drupal\price\Repository\NumberFormatRepository::__construct()
  3. 2.x src/Repository/NumberFormatRepository.php \Drupal\price\Repository\NumberFormatRepository::__construct()
  4. 3.0.x src/Repository/NumberFormatRepository.php \Drupal\price\Repository\NumberFormatRepository::__construct()

Creates a NumberFormatRepository instance.

Parameters

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

File

src/Repository/NumberFormatRepository.php, line 32

Class

NumberFormatRepository
Defines the number format repository.

Namespace

Drupal\price\Repository

Code

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