private function getOption($name)
    {
        if (!isset($this->options[$name])) {
            throw new \InvalidArgumentException(sprintf('The option "%s" does not exist.', $name));
        }

        return $this->options[$name];
    }
private function getOption($name)
    {
        if (!isset($this->options[$name])) {
            throw new \InvalidArgumentException(sprintf('The option "%s" does not exist.', $name));
        }

        return $this->options[$name];
    }
private function getOption ( $ name ) { if ( ! isset ( $ this -> options [ $ name ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'The option "%s" does not exist.' , $ name ) ) ; } return $ this -> options [ $ name ] ; }
Gets an option.

@param string $name The option name.

@throws \InvalidArgumentException If the option does not exist.

@return \Widop\Twitter\Options\OptionInterface The option.
Gets an option .