code: private function setOption($name, $value)
      {
          if (!\array_key_exists($name, $this->options)) {
              throw new InvalidConfigurationException(sprintf('Unknown option name: "%s".', $name));
          }
  
          $this->options[$name] = $value;
      }
docs: Set option that will be resolved.
  
  @param string $name
  @param mixed  $value