You are here

public function SymfonyEventDispatcher::__construct in Payment 8.2

Constructs a new instance.

Parameters

\Symfony\Component\EventDispatcher\EventDispatcherInterface $symfony_event_dispatcher:

File

src/SymfonyEventDispatcher.php, line 36

Class

SymfonyEventDispatcher
Dispatches Payment events through Symfony's event dispatcher.

Namespace

Drupal\payment

Code

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