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

Xet Storage Details

Size:
1.17 kB
·
Xet hash:
3fd195f0e896734a22b60098280cbbb06793e509d6b814031a8c0275ef28124d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.