Bläddra i källkod

Reminder

develop
Guillaume 3 år sedan
förälder
incheckning
eaf0801225
1 ändrade filer med 0 tillägg och 50 borttagningar
  1. +0
    -50
      src/Repository/ReminderRepository.php

+ 0
- 50
src/Repository/ReminderRepository.php Visa fil

@@ -1,50 +0,0 @@
<?php

namespace App\Repository;

use App\Entity\Reminder;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;

/**
* @method Reminder|null find($id, $lockMode = null, $lockVersion = null)
* @method Reminder|null findOneBy(array $criteria, array $orderBy = null)
* @method Reminder[] findAll()
* @method Reminder[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class ReminderRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Reminder::class);
}

// /**
// * @return Reminder[] Returns an array of Reminder objects
// */
/*
public function findByExampleField($value)
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->orderBy('r.id', 'ASC')
->setMaxResults(10)
->getQuery()
->getResult()
;
}
*/

/*
public function findOneBySomeField($value): ?Reminder
{
return $this->createQueryBuilder('r')
->andWhere('r.exampleField = :val')
->setParameter('val', $value)
->getQuery()
->getOneOrNullResult()
;
}
*/
}

Laddar…
Avbryt
Spara