draft torrent submit form #11

This commit is contained in:
ghost 2023-10-06 03:28:36 +03:00
parent b1fe274ae8
commit 8df29ef605
12 changed files with 810 additions and 6 deletions

View file

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

View file

@ -0,0 +1,23 @@
<?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);
}
}

View file

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