subscribe a person since listByPerson context (issue #19)

This commit is contained in:
2019-05-02 11:35:15 +02:00
parent aa9141be1d
commit ee8f303d25
11 changed files with 478 additions and 11 deletions

View File

@@ -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 }

View File

@@ -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'