public function __construct(EventDispatcher $eventDispatcher) { $this->eventDispatcher = $eventDispatcher; $this->pluginCollection = new Collection(); }