private function getMutationQueryParams($options = [])
    {
        $query = ['returnIds' => 'true'];

        if (!isset($options['returnDocuments']) || $options['returnDocuments']) {
            $query['returnDocuments'] = 'true';
        }

        if (isset($options['visibility']) && $options['visibility'] !== 'sync') {
            $query['visibility'] = $options['visibility'];
        }

        return $query;
    }
private function getMutationQueryParams($options = [])
    {
        $query = ['returnIds' => 'true'];

        if (!isset($options['returnDocuments']) || $options['returnDocuments']) {
            $query['returnDocuments'] = 'true';
        }

        if (isset($options['visibility']) && $options['visibility'] !== 'sync') {
            $query['visibility'] = $options['visibility'];
        }

        return $query;
    }
private function getMutationQueryParams ( $ options = [ ] ) { $ query = [ 'returnIds' => 'true' ] ; if ( ! isset ( $ options [ 'returnDocuments' ] ) || $ options [ 'returnDocuments' ] ) { $ query [ 'returnDocuments' ] = 'true' ; } if ( isset ( $ options [ 'visibility' ] ) && $ options [ 'visibility' ] !== 'sync' ) { $ query [ 'visibility' ] = $ options [ 'visibility' ] ; } return $ query ; }
Get a reduced and normalized set of query params for a mutation based on the given options

@param array $options Array of request options
@return array Array of normalized query params
Get a reduced and normalized set of query params for a mutation based on the given options