dece
0c17bbbc4c
Why ReleaseMetadata and not simply Metadata you ask? Because I want to be sure future entities may have their own type of metadata and not have name conflicts. Why not adding this data to Release? I don't know, I like small tables for the main entities I guess, probably #DoesNotScale.
24 lines
762 B
PHP
24 lines
762 B
PHP
<?php
|
|
|
|
namespace App\Repository;
|
|
|
|
use App\Entity\ReleaseMetadata;
|
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
|
use Doctrine\Persistence\ManagerRegistry;
|
|
|
|
/**
|
|
* @extends ServiceEntityRepository<ReleaseMetadata>
|
|
*
|
|
* @method ReleaseMetadata|null find($id, $lockMode = null, $lockVersion = null)
|
|
* @method ReleaseMetadata|null findOneBy(array $criteria, array $orderBy = null)
|
|
* @method ReleaseMetadata[] findAll()
|
|
* @method ReleaseMetadata[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
|
*/
|
|
class ReleaseMetadataRepository extends ServiceEntityRepository
|
|
{
|
|
public function __construct(ManagerRegistry $registry)
|
|
{
|
|
parent::__construct($registry, ReleaseMetadata::class);
|
|
}
|
|
}
|