mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-09-11 13:52:12 +00:00
24 lines
698 B
PHP
24 lines
698 B
PHP
<?php
|
|
|
|
namespace App\Repository;
|
|
|
|
use App\Entity\Torrent;
|
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
|
use Doctrine\Persistence\ManagerRegistry;
|
|
|
|
/**
|
|
* @extends ServiceEntityRepository<Torrent>
|
|
*
|
|
* @method Torrent|null find($id, $lockMode = null, $lockVersion = null)
|
|
* @method Torrent|null findOneBy(array $criteria, array $orderBy = null)
|
|
* @method Torrent[] findAll()
|
|
* @method Torrent[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
|
*/
|
|
class TorrentRepository extends ServiceEntityRepository
|
|
{
|
|
public function __construct(ManagerRegistry $registry)
|
|
{
|
|
parent::__construct($registry, Torrent::class);
|
|
}
|
|
}
|