mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
adding Entities Location and LocationType (for activity/calendar) + doctrine migration
This commit is contained in:
21
src/Bundle/ChillMainBundle/Repository/LocationRepository.php
Normal file
21
src/Bundle/ChillMainBundle/Repository/LocationRepository.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Chill\MainBundle\Repository;
|
||||
|
||||
use Chill\MainBundle\Entity\Location;
|
||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
/**
|
||||
* @method Location|null find($id, $lockMode = null, $lockVersion = null)
|
||||
* @method Location|null findOneBy(array $criteria, array $orderBy = null)
|
||||
* @method Location[] findAll()
|
||||
* @method Location[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
||||
*/
|
||||
class LocationRepository extends ServiceEntityRepository
|
||||
{
|
||||
public function __construct(ManagerRegistry $registry)
|
||||
{
|
||||
parent::__construct($registry, Location::class);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user