public function createFilteredQueryBuilder(string $className, array $filter, array $sorting): QueryBuilder
    {
        return $this->filteredQueryBuilderFactory->create($className, $filter, $sorting);
    }
public function createFilteredQueryBuilder(string $className, array $filter, array $sorting): QueryBuilder
    {
        return $this->filteredQueryBuilderFactory->create($className, $filter, $sorting);
    }
public function createFilteredQueryBuilder ( string $ className , array $ filter , array $ sorting ) : QueryBuilder { return $ this -> filteredQueryBuilderFactory -> create ( $ className , $ filter , $ sorting ) ; }
Create and return a query builder that is filtered and sorted for the given entity

Typical usage would be to call this method in your query resolver with the filter and sorting arguments directly
coming from GraphQL.

You may apply further pagination according to your needs before executing the query.

Filter and sorting arguments are assumed to be valid and complete as the validation should have happened when
parsing the GraphQL query.

@param string $className
@param array $filter
@param array $sorting

@return QueryBuilder
Create and return a query builder that is filtered and sorted for the given entity