cmtracker/src/Repository/Case/MonthlyCaseNoteRepository.php
2025-01-28 20:59:14 -05:00

44 lines
1.3 KiB
PHP

<?php
namespace App\Repository\Case;
use App\Entity\Case\MonthlyCaseNote;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<MonthlyCaseNote>
*/
class MonthlyCaseNoteRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, MonthlyCaseNote::class);
}
// /**
// * @return MonthlyCaseNote[] Returns an array of MonthlyCaseNote objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('m')
// ->andWhere('m.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('m.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?MonthlyCaseNote
// {
// return $this->createQueryBuilder('m')
// ->andWhere('m.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}