public function value($default = null)
    {
        $arguments = $this->command->arguments;

        if (is_array($arguments)) {
            return isset($arguments[$this->key]) ? $arguments[$this->key] : $default;
        }

        return $default;
    }
public function value($default = null)
    {
        $arguments = $this->command->arguments;

        if (is_array($arguments)) {
            return isset($arguments[$this->key]) ? $arguments[$this->key] : $default;
        }

        return $default;
    }
public function value ( $ default = null ) { $ arguments = $ this -> command -> arguments ; if ( is_array ( $ arguments ) ) { return isset ( $ arguments [ $ this -> key ] ) ? $ arguments [ $ this -> key ] : $ default ; } return $ default ; }
Returns value of current argument

@param  mixed $default
@return mixed
Returns value of current argument