Buckets:
| namespace App\Repository; | |
| use App\Entity\Book; | |
| use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |
| use Doctrine\Persistence\ManagerRegistry; | |
| /** | |
| * @extends ServiceEntityRepository<Book> | |
| */ | |
| class BookRepository extends ServiceEntityRepository | |
| { | |
| public function __construct(ManagerRegistry $registry) | |
| { | |
| parent::__construct($registry, Book::class); | |
| } | |
| // /** | |
| // * @return Book[] Returns an array of Book objects | |
| // */ | |
| // public function findByExampleField($value): array | |
| // { | |
| // return $this->createQueryBuilder('b') | |
| // ->andWhere('b.exampleField = :val') | |
| // ->setParameter('val', $value) | |
| // ->orderBy('b.id', 'ASC') | |
| // ->setMaxResults(10) | |
| // ->getQuery() | |
| // ->getResult() | |
| // ; | |
| // } | |
| // public function findOneBySomeField($value): ?Book | |
| // { | |
| // return $this->createQueryBuilder('b') | |
| // ->andWhere('b.exampleField = :val') | |
| // ->setParameter('val', $value) | |
| // ->getQuery() | |
| // ->getOneOrNullResult() | |
| // ; | |
| // } | |
| } | |
Xet Storage Details
- Size:
- 1.12 kB
- Xet hash:
- 6f8f03881d4cf2522915ccd8f2fa27cc9743cf169f557cfedd5b09dbc1387777
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.