module/FzyCommon/src/FzyCommon/Service/Search/Base/DQL.php
protected function querySearch(Params $params)
    {
        $qb = $this->getCustomizedQueryBuilder($params);

        return $this->getQBResult($params, $this->queryHook($params, $qb));
    }
protected function querySearch(Params $params)
    {
        $qb = $this->getCustomizedQueryBuilder($params);

        return $this->getQBResult($params, $this->queryHook($params, $qb));
    }
Performs a query base don the params for a collection
of objects to be returned. This function ought to
set the $limit, $offset, and $total values
@param  Params $params
@return array