ServerRepository.php
1 <?php 2 3 namespace App\Repository; 4 5 use App\Entity\Server; 6 use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; 7 use Doctrine\Persistence\ManagerRegistry; 8 9 /** 10 * @extends ServiceEntityRepository<Server> 11 * 12 * @method Server|null find($id, $lockMode = null, $lockVersion = null) 13 * @method Server|null findOneBy(array $criteria, array $orderBy = null) 14 * @method Server[] findAll() 15 * @method Server[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null) 16 */ 17 class ServerRepository extends ServiceEntityRepository 18 { 19 public function __construct(ManagerRegistry $registry) 20 { 21 parent::__construct($registry, Server::class); 22 } 23 }