public function getOption($option)
    {
        if (!isset($this->options[$option])) {
            throw new \Exception('This option does not exist');
        }

        return $this->options[$option];
    }
public function getOption($option)
    {
        if (!isset($this->options[$option])) {
            throw new \Exception('This option does not exist');
        }

        return $this->options[$option];
    }
public function getOption ( $ option ) { if ( ! isset ( $ this -> options [ $ option ] ) ) { throw new \ Exception ( 'This option does not exist' ) ; } return $ this -> options [ $ option ] ; }
Gets value from options

@var string $option
@return string value
@throws \Exception
Gets value from options