Flumzi/src/Repository/ReleaseMetadataRepository.php
dece 0c17bbbc4c Add ReleaseMetadata entity
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.
2023-10-01 15:17:06 +02:00

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);
}
}