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