mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
@@ -1,4 +0,0 @@
|
||||
services:
|
||||
# chill_event.example:
|
||||
# class: Chill\EventBundle\Example
|
||||
# arguments: [@service_id, "plain_value", %parameter%]
|
8
Resources/config/services/authorization.yml
Normal file
8
Resources/config/services/authorization.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
services:
|
||||
chill_event.event_voter:
|
||||
class: Chill\EventBundle\Security\Authorization\EventVoter
|
||||
arguments:
|
||||
- "@chill.main.security.authorization.helper"
|
||||
tags:
|
||||
- { name: chill.role }
|
||||
- { name: security.voter }
|
6
Resources/config/services/repositories.yml
Normal file
6
Resources/config/services/repositories.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
services:
|
||||
chill_group.repository.event:
|
||||
class: Doctrine\ORM\EntityRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\EventBundle\Entity\Event'
|
11
Resources/config/services/search.yml
Normal file
11
Resources/config/services/search.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
chill_event.search_events:
|
||||
class: Chill\EventBundle\Search\EventSearch
|
||||
arguments:
|
||||
- "@security.token_storage"
|
||||
- "@chill_group.repository.event"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- "@templating"
|
||||
tags:
|
||||
- { name: chill.search, alias: 'event_regular' }
|
||||
|
Reference in New Issue
Block a user