public function parse()
    {
        $this->handler->parse($this->input);

        $output = $this->handler->getOptions();

        if (false === isset($output['from'])) {
            throw new \BadMethodCallException('The --from argument is required.');
        }

        if (false === isset($output['release'])) {
            throw new \BadMethodCallException('The --release argument is required.');
        }
        
        return $this->handler;
    }
public function parse()
    {
        $this->handler->parse($this->input);

        $output = $this->handler->getOptions();

        if (false === isset($output['from'])) {
            throw new \BadMethodCallException('The --from argument is required.');
        }

        if (false === isset($output['release'])) {
            throw new \BadMethodCallException('The --release argument is required.');
        }
        
        return $this->handler;
    }
public function parse ( ) { $ this -> handler -> parse ( $ this -> input ) ; $ output = $ this -> handler -> getOptions ( ) ; if ( false === isset ( $ output [ 'from' ] ) ) { throw new \ BadMethodCallException ( 'The --from argument is required.' ) ; } if ( false === isset ( $ output [ 'release' ] ) ) { throw new \ BadMethodCallException ( 'The --release argument is required.' ) ; } return $ this -> handler ; }
Parses the input and returns the Getopt handler.

@return Getopt
Parses the input and returns the Getopt handler .