src/Api/Type/BindingType.php
public function hasParameterValues()
    {
        foreach ($this->parameters as $name => $parameter) {
            if (!$parameter->isRequired()) {
                return true;
            }
        }

        return false;
    }
public function hasParameterValues()
    {
        foreach ($this->parameters as $name => $parameter) {
            if (!$parameter->isRequired()) {
                return true;
            }
        }

        return false;
    }
public function hasParameterValues ( ) { foreach ( $ this -> parameters as $ name => $ parameter ) { if ( ! $ parameter -> isRequired ( ) ) { return true ; } } return false ; }
Returns whether the type has parameters with default values.

@return bool Returns `true` if at least one parameter has a default value
and `false` otherwise.
Returns whether the type has parameters with default values .