public function getPaymentStatusQuery($filter = null,
$order = null,
$offset = null,
$limit = null
) { $builder =
$this->
getPaymentStatusQueryBuilder($filter,
$order);
if ($limit !== null
) { $builder->
setFirstResult($offset) ->
setMaxResults($limit);
} return $builder->
getQuery();
} /**
* Helper method to create the query builder for the "getPaymentStatusQuery" function.
* This function can be hooked to modify the query builder of the query object.
*
* @param array|null $filter
* @param string|OrderBy $order
*
* @return QueryBuilder
*/