protected function createSearchQueryBuilder($entityClass, $searchQuery, array $searchableFields, $sortField = null, $sortDirection = null, $dqlFilter = null)
    {
        return $this->get('easyadmin.query_builder')->createSearchQueryBuilder($this->entity, $searchQuery, $sortField, $sortDirection, $dqlFilter);
    }
protected function createSearchQueryBuilder($entityClass, $searchQuery, array $searchableFields, $sortField = null, $sortDirection = null, $dqlFilter = null)
    {
        return $this->get('easyadmin.query_builder')->createSearchQueryBuilder($this->entity, $searchQuery, $sortField, $sortDirection, $dqlFilter);
    }
protected function createSearchQueryBuilder ( $ entityClass , $ searchQuery , array $ searchableFields , $ sortField = null , $ sortDirection = null , $ dqlFilter = null ) { return $ this -> get ( 'easyadmin.query_builder' ) -> createSearchQueryBuilder ( $ this -> entity , $ searchQuery , $ sortField , $ sortDirection , $ dqlFilter ) ; }
Creates Query Builder instance for search query.

@param string      $entityClass
@param string      $searchQuery
@param array       $searchableFields
@param string|null $sortField
@param string|null $sortDirection
@param string|null $dqlFilter

@return QueryBuilder The Query Builder instance
Creates Query Builder instance for search query .