module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php
protected function getExpressionsForWhereMembersOf(Params $params, QueryBuilder $qb, $requestParameterName, $queryParameterName = null)
    {
        $expressions = array();
        foreach ((array) $params->get($requestParameterName) as $key => $value) {
            $param = $queryParameterName.$key;
            $expressions[] = $qb->expr()->orX(':'.$param.' MEMBER OF '.$this->alias($queryParameterName));
            $qb->setParameter($param, $value);
        }

        return $expressions;
    }
protected function getExpressionsForWhereMembersOf(Params $params, QueryBuilder $qb, $requestParameterName, $queryParameterName = null)
    {
        $expressions = array();
        foreach ((array) $params->get($requestParameterName) as $key => $value) {
            $param = $queryParameterName.$key;
            $expressions[] = $qb->expr()->orX(':'.$param.' MEMBER OF '.$this->alias($queryParameterName));
            $qb->setParameter($param, $value);
        }

        return $expressions;
    }
Conveniance method to return a collection of "WHERE MEMBER OF" expressions in a common format.
If $queryParameterName is unspecified, $requestParameterName is used for both.
Any additional expressions will be added to the disjunction.

@param  Params       $params
@param  QueryBuilder $qb
@param $requestParameterName
@param  null         $queryParameterName
@return array