createQueryBuilder('')
->andWhere('.exampleField = :val')
->setParameter('val', $value)
->orderBy('.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/
/*
public function findOneBySomeField($value): ?
{
return $this->createQueryBuilder('')
->andWhere('.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}