public function FakeEvent::__construct in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/Manager/FakeEvent.php \Drupal\Tests\hook_event_dispatcher\Unit\Manager\FakeEvent::__construct()
- 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\ManagerCode
public function __construct($dispatcherType) {
$this->dispatcherType = $dispatcherType;
}