/**
* Helper function to create the query builder for the "getListQuery" function.
* This function can be hooked to modify the query builder of the query object.
*
* @param array<array{property: string, direction: string}>|null $orderBy
*
* @return QueryBuilder
*/
public function getListQueryBuilder(?array
$orderBy = null
) { /** @var QueryBuilder $builder */
$builder =
$this->
getEntityManager()->
createQueryBuilder();
$builder->
select( [ 'productFeed.id as id',
'productFeed.name as name',
'productFeed.active as active',
'productFeed.fileName as fileName',
'productFeed.countArticles as countArticles',
'productFeed.hash as hash',
'productFeed.lastExport as lastExport',
] );