public function getOption($name)
  {
    if ($this->hasOption($name)) {
      $option = $this->options[$name];
    } else {
      $option = null;
    }
    return $option;
  }
public function getOption($name)
  {
    if ($this->hasOption($name)) {
      $option = $this->options[$name];
    } else {
      $option = null;
    }
    return $option;
  }
public function getOption ( $ name ) { if ( $ this -> hasOption ( $ name ) ) { $ option = $ this -> options [ $ name ] ; } else { $ option = null ; } return $ option ; }
Get option by name

@param string $name Option name

@return string
Get option by name