public function HookEventDispatcherManager::__construct in Hook Event Dispatcher 8.2
Same name and namespace in other branches
- 8 src/Manager/HookEventDispatcherManager.php \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManager::__construct()
- 3.x src/Manager/HookEventDispatcherManager.php \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManager::__construct()
EntityDispatcherManager constructor.
Parameters
\Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher: The event dispatcher.
File
- src/
Manager/ HookEventDispatcherManager.php, line 30
Class
- HookEventDispatcherManager
- Class HookEventDispatcherManager.
Namespace
Drupal\hook_event_dispatcher\ManagerCode
public function __construct(EventDispatcherInterface $eventDispatcher) {
$this->eventDispatcher = $eventDispatcher;
}