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