/**
  * @internal
  *
  * @param Section $section
  * @param         $optionName
  * @param         $optionValue
  *
  * @throws \InvalidArgumentException
  * @throws \LogicException
  * @throws \LTDBeget\sphinx\configurator\exceptions\DeserializeException
  */
 private function deserializeOption(Section $section, $optionName, $optionValue)
 {
     $sectionType = $section->getType();
     $informer = $section->getConfiguration()->getInformer();
     $optionName = $this->getOptionName($section, $optionName);
     if ($informer->isKnownOption($sectionType, $optionName)) {
         $section->addOption($optionName, $optionValue);
     } elseif ($informer->isRemovedOption($sectionType, $optionName)) {
         return;
     } else {
         throw new DeserializeException("Unknown option name {$optionName} in section {$section->getType()}");
     }
 }