mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-26 12:06:13 +00:00
+ set deps to chill-project/main dev-master Squashed commit of the following: commit c120c9347606358daec042b0e1e3da83cc260f12 Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Sep 14 00:50:50 2015 +0200 switch to role declaration in code commit 7fba35356ea9266c43a6f104290103071e1c1755 Author: Julien Fastré <julien.fastre@champs-libres.coop> Date: Mon Aug 31 23:57:59 2015 +0200 declare role in chill.available_roles parameter
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
services:
|
|
# chill_report.example:
|
|
# class: Chill\ReportBundle\Example
|
|
# arguments: [@service_id, "plain_value", %parameter%]
|
|
services:
|
|
|
|
chill.report.search:
|
|
class: Chill\ReportBundle\Search\ReportSearch
|
|
arguments:
|
|
- '@doctrine.orm.entity_manager'
|
|
- '@chill.main.security.authorization.helper'
|
|
- '@security.token_storage'
|
|
calls:
|
|
- [setContainer, ["@service_container"]]
|
|
tags:
|
|
- { name: chill.search, alias: 'report' }
|
|
|
|
chill.report.timeline:
|
|
class: Chill\ReportBundle\Timeline\TimelineReportProvider
|
|
arguments:
|
|
- '@doctrine.orm.entity_manager'
|
|
- '@chill.main.security.authorization.helper'
|
|
- '@security.token_storage'
|
|
tags:
|
|
- { name: chill.timeline, context: 'person' }
|
|
|
|
chill.report.security.authorization.report_voter:
|
|
class: Chill\ReportBundle\Security\Authorization\ReportVoter
|
|
arguments:
|
|
- "@chill.main.security.authorization.helper"
|
|
tags:
|
|
- { name: security.voter }
|
|
- { name: chill.role }
|
|
|
|
chill.report.form.report_type:
|
|
class: Chill\ReportBundle\Form\ReportType
|
|
arguments:
|
|
- "@chill.main.security.authorization.helper"
|
|
- "@security.token_storage"
|
|
- "@chill.main.helper.translatable_string"
|
|
- "@doctrine.orm.entity_manager"
|
|
tags:
|
|
- { name: form.type, alias: chill_reportbundle_report }
|
|
|