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