Files
domain-watchdog/src/Repository/RdapServerRepository.php

44 lines
1.2 KiB
PHP
Raw Normal View History

2024-07-18 19:13:06 +02:00
<?php
namespace App\Repository;
use App\Entity\RdapServer;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<RdapServer>
*/
class RdapServerRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, RdapServer::class);
}
2024-08-02 23:24:52 +02:00
// /**
// * @return RdapServer[] Returns an array of RdapServer objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('r')
// ->andWhere('r.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('r.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
2024-07-18 19:13:06 +02:00
2024-08-02 23:24:52 +02:00
// public function findOneBySomeField($value): ?RdapServer
// {
// return $this->createQueryBuilder('r')
// ->andWhere('r.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
2024-07-18 19:13:06 +02:00
}