src/Performer.php
protected function requireOption($key)
    {
        $value = $this->option($key);
        if ($value === null) {
            throw new Exception("The '{$key}' option is required.");
        }

        return $value;
    }
protected function requireOption($key)
    {
        $value = $this->option($key);
        if ($value === null) {
            throw new Exception("The '{$key}' option is required.");
        }

        return $value;
    }
protected function requireOption ( $ key ) { $ value = $ this -> option ( $ key ) ; if ( $ value === null ) { throw new Exception ( "The '{$key}' option is required." ) ; } return $ value ; }
Get an option from the options array and throw an exception if it isn't set
@param string $key Option key
@return mixed
@throws Exception
Get an option from the options array and throw an exception if it isn t set