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

Xet Storage Details

Size:
1.23 kB
·
Xet hash:
fbe5c0326f0d03adb95e3875ad7acb5e85a115a4f7b37faff0702e4ac1a7925b

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