original_string: public function setOption($name, $value)
      {
          $method = 'set' . ucfirst($name);
          if (method_exists($this, $method) && $method !== __FUNCTION__) {
              return $this->$method($value);
          }
  
          $this->options[$name] = $value;
          return $this;
      }
code: public function setOption($name, $value)
      {
          $method = 'set' . ucfirst($name);
          if (method_exists($this, $method) && $method !== __FUNCTION__) {
              return $this->$method($value);
          }
  
          $this->options[$name] = $value;
          return $this;
      }
code_tokens: public function setOption ( $ name , $ value ) { $ method = 'set' . ucfirst ( $ name ) ; if ( method_exists ( $ this , $ method ) && $ method !== __FUNCTION__ ) { return $ this -> $ method ( $ value ) ; } $ this -> options [ $ name ] = $ value ; return $ this ; }
docstring: Set single option
  
  @param string $name  name of option
  @param mixed  $value value of option
  @return self
docstring_tokens: Set single option