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