Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
data
/
web
/
vhosts
/
716cf56cb2.url-de-test.ws
/
htdocs_old
/
src
/
Repository
/
/srv/data/web/vhosts/716cf56cb2.url-de-test.ws/htdocs_old/src/Repository/TrainingRepository.php
<?php namespace App\Repository; use App\Entity\Training; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Symfony\Bridge\Doctrine\RegistryInterface; /** * @method Training|null find($id, $lockMode = null, $lockVersion = null) * @method Training|null findOneBy(array $criteria, array $orderBy = null) * @method Training[] findAll() * @method Training[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class TrainingRepository extends ServiceEntityRepository { public function __construct(RegistryInterface $registry) { parent::__construct($registry, Training::class); } // /** // * @return Training[] Returns an array of Training objects // */ /* public function findByExampleField($value) { return $this->createQueryBuilder('t') ->andWhere('t.exampleField = :val') ->setParameter('val', $value) ->orderBy('t.id', 'ASC') ->setMaxResults(10) ->getQuery() ->getResult() ; } */ /* public function findOneBySomeField($value): ?Training { return $this->createQueryBuilder('t') ->andWhere('t.exampleField = :val') ->setParameter('val', $value) ->getQuery() ->getOneOrNullResult() ; } */ }