up routes and schema

This commit is contained in:
Tykayn 2025-02-14 11:00:20 +01:00 committed by tykayn
parent e23013825b
commit 1c700917b3
23 changed files with 1959 additions and 89 deletions

View file

@ -0,0 +1,43 @@
<?php
namespace App\Repository;
use App\Entity\Festvial;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Festvial>
*/
class FestvialRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Festvial::class);
}
// /**
// * @return Festvial[] Returns an array of Festvial objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('f')
// ->andWhere('f.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('f.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Festvial
// {
// return $this->createQueryBuilder('f')
// ->andWhere('f.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}