src/Query/AbstractQuery.php
protected function flattenParameters(array $parameters): array
    {
        $result = [];
        foreach ($parameters as $parameter) {
            if ($parameter instanceof BuilderInterface) {
                $result = array_merge($result, $parameter->getParameters());
                continue;
            }

            $result[] = $parameter;
        }

        return $result;
    }
protected function flattenParameters(array $parameters): array
    {
        $result = [];
        foreach ($parameters as $parameter) {
            if ($parameter instanceof BuilderInterface) {
                $result = array_merge($result, $parameter->getParameters());
                continue;
            }

            $result[] = $parameter;
        }

        return $result;
    }
protected function flattenParameters ( array $ parameters ) : array { $ result = [ ] ; foreach ( $ parameters as $ parameter ) { if ( $ parameter instanceof BuilderInterface ) { $ result = array_merge ( $ result , $ parameter -> getParameters ( ) ) ; continue ; } $ result [ ] = $ parameter ; } return $ result ; }
Expand all QueryBuilder parameters to create flatten list.

@param array $parameters

@return array
Expand all QueryBuilder parameters to create flatten list .