| Current Path : /var/www/v3.cesa.co.za/src/CoreBundle/Repository/ |
| Current File : //var/www/v3.cesa.co.za/src/CoreBundle/Repository/BatchJobsRepository.php |
<?php
namespace App\CoreBundle\Repository;
use App\CoreBundle\Entity\BatchJobs;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<BatchJobs>
*
* @method BatchJobs|null find($id, $lockMode = null, $lockVersion = null)
* @method BatchJobs|null findOneBy(array $criteria, array $orderBy = null)
* @method BatchJobs[] findAll()
* @method BatchJobs[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class BatchJobsRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, BatchJobs::class);
}
// /**
// * @return BatchJobs[] Returns an array of BatchJobs objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('b')
// ->andWhere('b.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('b.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?BatchJobs
// {
// return $this->createQueryBuilder('b')
// ->andWhere('b.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}