public function getNumberOfArguments($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        if ($this->hasMultiValuedArg) {
            return PHP_INT_MAX;
        }

        return count($this->getArguments($includeBase));
    }
public function getNumberOfArguments($includeBase = true)
    {
        Assert::boolean($includeBase, 'The parameter $includeBase must be a boolean. Got: %s');

        if ($this->hasMultiValuedArg) {
            return PHP_INT_MAX;
        }

        return count($this->getArguments($includeBase));
    }
public function getNumberOfArguments ( $ includeBase = true ) { Assert :: boolean ( $ includeBase , 'The parameter $includeBase must be a boolean. Got: %s' ) ; if ( $ this -> hasMultiValuedArg ) { return PHP_INT_MAX ; } return count ( $ this -> getArguments ( $ includeBase ) ) ; }
Returns the number of arguments.

@param bool $includeBase Whether to include arguments in the base format
in the result.

@return int The number of arguments.
Returns the number of arguments .