public function addOption(
        $name,
        $valueRequired = Parameter::OPTION_VALUE_OPTIONAL,
        $defaultValue = null,
        $flagOption = false
    ) {
        $this->options[$name] = new \Parable\Console\Parameter\Option(
            $name,
            $valueRequired,
            $defaultValue,
            $flagOption
        );
        return $this;
    }
public function addOption(
        $name,
        $valueRequired = Parameter::OPTION_VALUE_OPTIONAL,
        $defaultValue = null,
        $flagOption = false
    ) {
        $this->options[$name] = new \Parable\Console\Parameter\Option(
            $name,
            $valueRequired,
            $defaultValue,
            $flagOption
        );
        return $this;
    }
public function addOption ( $ name , $ valueRequired = Parameter :: OPTION_VALUE_OPTIONAL , $ defaultValue = null , $ flagOption = false ) { $ this -> options [ $ name ] = new \ Parable \ Console \ Parameter \ Option ( $ name , $ valueRequired , $ defaultValue , $ flagOption ) ; return $ this ; }
Add an option for this command.

@param string     $name
@param int        $valueRequired
@param mixed|null $defaultValue
@param bool       $flagOption

@return $this
Add an option for this command .