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

        if (count($this->arguments) > 0) {
            return true;
        }

        if ($includeBase && $this->baseFormat) {
            return $this->baseFormat->hasArguments();
        }

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

        if (count($this->arguments) > 0) {
            return true;
        }

        if ($includeBase && $this->baseFormat) {
            return $this->baseFormat->hasArguments();
        }

        return false;
    }
public function hasArguments ( $ includeBase = true ) { Assert :: boolean ( $ includeBase , 'The parameter $includeBase must be a boolean. Got: %s' ) ; if ( count ( $ this -> arguments ) > 0 ) { return true ; } if ( $ includeBase && $ this -> baseFormat ) { return $ this -> baseFormat -> hasArguments ( ) ; } return false ; }
Returns whether the format contains any argument.

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

@return bool Returns `true` if the format contains any argument and
`false` otherwise.
Returns whether the format contains any argument .