* * @method Fee|null find($id, $lockMode = null, $lockVersion = null) * @method Fee|null findOneBy(array $criteria, array $orderBy = null) * @method Fee[] findAll() * @method Fee[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class FeeRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Fee::class); } public function getList(): array { $qb = $this->createQueryBuilder('fee'); return $qb ->where($qb->expr()->isNull('fee.deletedAt')) ->orderBy('fee.name', 'ASC') ->getQuery() ->getResult() ; } }