public function setCommandOptions(array $options)
    {
        foreach ($options as $name => $option) {
            if ((!$option instanceof Parameter\Option)) {
                throw new \Parable\Console\Exception(
                    "Options must be instances of Parameter\\Option. {$name} is not."
                );
            }
            $this->commandOptions[$option->getName()] = $option;
        }
        return $this;
    }
public function setCommandOptions(array $options)
    {
        foreach ($options as $name => $option) {
            if ((!$option instanceof Parameter\Option)) {
                throw new \Parable\Console\Exception(
                    "Options must be instances of Parameter\\Option. {$name} is not."
                );
            }
            $this->commandOptions[$option->getName()] = $option;
        }
        return $this;
    }
public function setCommandOptions ( array $ options ) { foreach ( $ options as $ name => $ option ) { if ( ( ! $ option instanceof Parameter \ Option ) ) { throw new \ Parable \ Console \ Exception ( "Options must be instances of Parameter\\Option. {$name} is not." ) ; } $ this -> commandOptions [ $ option -> getName ( ) ] = $ option ; } return $ this ; }
Set the options from a command.

@param \Parable\Console\Parameter\Option[] $options

@return $this
@throws \Parable\Console\Exception
Set the options from a command .