/**
* Returns an instance of the \Doctrine\ORM\Query object which selects all backup entities
*
* @param int|null $offset
* @param int $limit
*
* @return Query<Backup>
*/
public function getBackupListQuery($offset,
$limit) { $builder =
$this->
getBackupListQueryBuilder();
if ($offset !== null
) { $builder->
setFirstResult($offset);
$builder->
setMaxResults($limit);
} return $builder->
getQuery();
} /**
* Helper function to create the query builder for the "getBackupListQuery" function.
* This function can be hooked to modify the query builder of the query object.
*
* @return QueryBuilder
*/