public function setValue(ConfigUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)
    {
        if (null !== $config = ConfigQuery::create()->findPk($event->getConfigId())) {
            if ($event->getValue() !== $config->getValue()) {
                $config->setDispatcher($dispatcher)->setValue($event->getValue())->save();

                $event->setConfig($config);
            }
        }
    }