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