You are here

public function AddressFormatRepository::__construct in Address 8

Creates an AddressFormatRepository instance.

Parameters

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

File

src/Repository/AddressFormatRepository.php, line 31

Class

AddressFormatRepository
Provides address formats.

Namespace

Drupal\address\Repository

Code

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