mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
init torrent poster database #18
This commit is contained in:
parent
997666ab8e
commit
8ae1b3f0b7
2 changed files with 140 additions and 0 deletions
23
src/Repository/TorrentPosterRepository.php
Normal file
23
src/Repository/TorrentPosterRepository.php
Normal 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue