module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php
protected function addWhereInFilter(Params $params, QueryBuilder $qb, $requestParameterName, $queryParameterName = null)
    {
        if ($queryParameterName === null) {
            $queryParameterName = $requestParameterName;
        }
        if ($params->has($requestParameterName)) {
            $qb->andWhere($qb->expr()->in($this->alias($queryParameterName), ':'.$requestParameterName))->setParameter($requestParameterName, $params->get($requestParameterName));
        }

        return $this;
    }
protected function addWhereInFilter(Params $params, QueryBuilder $qb, $requestParameterName, $queryParameterName = null)
    {
        if ($queryParameterName === null) {
            $queryParameterName = $requestParameterName;
        }
        if ($params->has($requestParameterName)) {
            $qb->andWhere($qb->expr()->in($this->alias($queryParameterName), ':'.$requestParameterName))->setParameter($requestParameterName, $params->get($requestParameterName));
        }

        return $this;
    }
Convenience method to add an AND WHERE IN clause in a common format.
If $queryParameterName is unspecified, $requestParameterName is used for both

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