src/ArtaxServiceBuilder/OperationDefinition.php
public function getDefaultParams() {
        $defaultParams = [];
        foreach ($this->parameters as $parameter) {
            if ($parameter->hasDefault()) {
                if ($parameter->getIsAPIParameter() == false) {
                    $defaultParams[] = $parameter;
                }
            }
        }

        return $defaultParams;
    }
public function getDefaultParams() {
        $defaultParams = [];
        foreach ($this->parameters as $parameter) {
            if ($parameter->hasDefault()) {
                if ($parameter->getIsAPIParameter() == false) {
                    $defaultParams[] = $parameter;
                }
            }
        }

        return $defaultParams;
    }
public function getDefaultParams ( ) { $ defaultParams = [ ] ; foreach ( $ this -> parameters as $ parameter ) { if ( $ parameter -> hasDefault ( ) ) { if ( $ parameter -> getIsAPIParameter ( ) == false ) { $ defaultParams [ ] = $ parameter ; } } } return $ defaultParams ; }
Get all the params that have a default value
@return \ArtaxServiceBuilder\Parameter[]
Get all the params that have a default value