mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-16 02:09:44 +00:00
move queries in repository
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
Chill\EventBundle\Entity\Participation:
|
||||
type: entity
|
||||
table: chill_event_participation
|
||||
repositoryClass: Chill\EventBundle\Repository\ParticipationRepository
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
|
@@ -5,7 +5,13 @@ services:
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\EventBundle\Entity\Event'
|
||||
|
||||
|
||||
chill_event.repository.participation:
|
||||
class: Chill\EventBundle\Repository\ParticipationRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\EventBundle\Entity\Participation'
|
||||
|
||||
chill_event.repository.role:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
|
Reference in New Issue
Block a user