Add community resource content and associated pages, links, forms, etc

This commit is contained in:
2024-12-18 05:24:20 +00:00
parent 78d149c348
commit fe44642fee
10 changed files with 1376 additions and 0 deletions

View File

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