public function setEventEmitter(EventEmitterInterface $emitter)
    {
        parent::setEventEmitter($emitter);
        foreach ($this->plugins as $plugin) {
            if (!($plugin instanceof EventEmitterAwareInterface)) {
                continue;
            }

            $plugin->setEventEmitter($emitter);
        }
    }