mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
subscribe a person since listByPerson context (issue #19)
This commit is contained in:
@@ -46,3 +46,13 @@ services:
|
||||
- "@chill.main.helper.translatable_string"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\EventBundle\Form\Type\PickSubscriptionType:
|
||||
arguments:
|
||||
$eventRepository: "@chill_event.repository.event"
|
||||
$tokenStorage: "@security.token_storage"
|
||||
$authorizationHelper: "@chill.main.security.authorization.helper"
|
||||
$urlGenerator: '@Symfony\Component\Routing\Generator\UrlGeneratorInterface'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
@@ -1,6 +1,7 @@
|
||||
services:
|
||||
|
||||
chill_event.repository.event:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
class: Chill\EventBundle\Repository\EventRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\EventBundle\Entity\Event'
|
||||
@@ -15,4 +16,4 @@ services:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\EventBundle\Entity\Status'
|
||||
- 'Chill\EventBundle\Entity\Status'
|
||||
|
Reference in New Issue
Block a user