diff --git a/src/Repository/Pf2e/TpaitRepository.php b/src/Repository/Pf2e/TpaitRepository.php new file mode 100644 index 0000000..6808242 --- /dev/null +++ b/src/Repository/Pf2e/TpaitRepository.php @@ -0,0 +1,43 @@ + + */ +class TpaitRepository extends ServiceEntityRepository +{ + public function __construct(ManagerRegistry $registry) + { + parent::__construct($registry, Tpait::class); + } + + // /** + // * @return Tpait[] Returns an array of Tpait objects + // */ + // public function findByExampleField($value): array + // { + // return $this->createQueryBuilder('t') + // ->andWhere('t.exampleField = :val') + // ->setParameter('val', $value) + // ->orderBy('t.id', 'ASC') + // ->setMaxResults(10) + // ->getQuery() + // ->getResult() + // ; + // } + + // public function findOneBySomeField($value): ?Tpait + // { + // return $this->createQueryBuilder('t') + // ->andWhere('t.exampleField = :val') + // ->setParameter('val', $value) + // ->getQuery() + // ->getOneOrNullResult() + // ; + // } +}