public function HookEventDispatcherManager::__construct in Hook Event Dispatcher 3.x
Same name and namespace in other branches
- 8.2 src/Manager/HookEventDispatcherManager.php \Drupal\hook_event_dispatcher\Manager\HookEventDispatcherManager::__construct()
- 8 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;
}