code: private function addOption(FixerOptionInterface $option)
      {
          $name = $option->getName();
  
          if (\in_array($name, $this->registeredNames, true)) {
              throw new \LogicException(sprintf('The "%s" option is defined multiple times.', $name));
          }
  
          $this->options[] = $option;
          $this->registeredNames[] = $name;
  
          return $this;
      }
docs: @param FixerOptionInterface $option
  
  @throws \LogicException when the option is already defined
  
  @return $this