You are here

public function FakeEvent::__construct in Hook Event Dispatcher 3.x

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/Manager/FakeEvent.php \Drupal\Tests\hook_event_dispatcher\Unit\Manager\FakeEvent::__construct()
  2. 8 tests/src/Unit/Manager/FakeEvent.php \Drupal\Tests\hook_event_dispatcher\Unit\Manager\FakeEvent::__construct()

FakeEvent constructor.

Parameters

string $dispatcherType: Dispatcher type.

File

tests/src/Unit/Manager/FakeEvent.php, line 28

Class

FakeEvent
Class FakeEvent.

Namespace

Drupal\Tests\hook_event_dispatcher\Unit\Manager

Code

public function __construct($dispatcherType) {
  $this->dispatcherType = $dispatcherType;
}