You are here

public function EventDispatcher::__construct in Currency 8.3

Constructs a new instance.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $symfony_event_dispatcher:

File

src/EventDispatcher.php, line 26

Class

EventDispatcher
Provides a Currency event dispatcher.

Namespace

Drupal\currency

Code

public function __construct(SymfonyEventDispatcherInterface $symfony_event_dispatcher) {
  $this->symfonyEventDispatcher = $symfony_event_dispatcher;
}