init torrent poster database #18

This commit is contained in:
ghost 2023-10-29 20:00:27 +02:00
parent 997666ab8e
commit 8ae1b3f0b7
2 changed files with 140 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<?php
namespace App\Repository;
use App\Entity\TorrentPoster;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<TorrentPoster>
*
* @method TorrentPoster|null find($id, $lockMode = null, $lockVersion = null)
* @method TorrentPoster|null findOneBy(array $criteria, array $orderBy = null)
* @method TorrentPoster[] findAll()
* @method TorrentPoster[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TorrentPosterRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TorrentPoster::class);
}
}