Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
proc
/
self
/
root
/
proc
/
212
/
root
/
proc
/
70528
/
cwd
/
src
/
Repository
/
//proc/212/root/proc/self/root/proc/212/root/proc/70528/cwd/src/Repository/FinishingRepository.php
<?php namespace App\Repository; use App\Entity\Finishing; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; /** * @extends ServiceEntityRepository<Finishing> * * @method Finishing|null find($id, $lockMode = null, $lockVersion = null) * @method Finishing|null findOneBy(array $criteria, array $orderBy = null) * @method Finishing[] findAll() * @method Finishing[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) */ class FinishingRepository extends ServiceEntityRepository { public function __construct(ManagerRegistry $registry) { parent::__construct($registry, Finishing::class); } public function add(Finishing $entity, bool $flush = false): void { $this->getEntityManager()->persist($entity); if ($flush) { $this->getEntityManager()->flush(); } } public function remove(Finishing $entity, bool $flush = false): void { $this->getEntityManager()->remove($entity); if ($flush) { $this->getEntityManager()->flush(); } } // /** // * @return Finishing[] Returns an array of Finishing objects // */ // public function findByExampleField($value): array // { // return $this->createQueryBuilder('f') // ->andWhere('f.exampleField = :val') // ->setParameter('val', $value) // ->orderBy('f.id', 'ASC') // ->setMaxResults(10) // ->getQuery() // ->getResult() // ; // } // public function findOneBySomeField($value): ?Finishing // { // return $this->createQueryBuilder('f') // ->andWhere('f.exampleField = :val') // ->setParameter('val', $value) // ->getQuery() // ->getOneOrNullResult() // ; // } }