feat: add AwardType entity and repository
This commit is contained in:
24
src/Repository/AwardTypeRepository.php
Normal file
24
src/Repository/AwardTypeRepository.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Repository;
|
||||
|
||||
use App\Entity\AwardType;
|
||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
/** @extends ServiceEntityRepository<AwardType> */
|
||||
class AwardTypeRepository extends ServiceEntityRepository
|
||||
{
|
||||
public function __construct(ManagerRegistry $registry)
|
||||
{
|
||||
parent::__construct($registry, AwardType::class);
|
||||
}
|
||||
|
||||
/** @return list<AwardType> */
|
||||
public function findAll(): array
|
||||
{
|
||||
return parent::findAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user