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
/
www.humitest.fr
/
htdocs
/
src
/
Repository
/
/srv/data/web/vhosts/www.humitest.fr/htdocs/src/Repository/CommandProductRepository.php
<?php namespace App\Repository; use App\Entity\CommandProduct; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Symfony\Bridge\Doctrine\RegistryInterface; /** * @method CommandProduct|null find($id, $lockMode = null, $lockVersion = null) * @method CommandProduct|null findOneBy(array $criteria, array $orderBy = null) * @method CommandProduct[] findAll() * @method CommandProduct[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class CommandProductRepository extends ServiceEntityRepository { public function __construct(RegistryInterface $registry) { parent::__construct($registry, CommandProduct::class); } // /** // * @return CommandProduct[] Returns an array of CommandProduct objects // */ /* public function findByExampleField($value) { return $this->createQueryBuilder('c') ->andWhere('c.exampleField = :val') ->setParameter('val', $value) ->orderBy('c.id', 'ASC') ->setMaxResults(10) ->getQuery() ->getResult() ; } */ /* public function findOneBySomeField($value): ?CommandProduct { return $this->createQueryBuilder('c') ->andWhere('c.exampleField = :val') ->setParameter('val', $value) ->getQuery() ->getOneOrNullResult() ; } */ }