mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-21 01:34:23 +00:00
46 lines
1.7 KiB
YAML
46 lines
1.7 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'
|
|
- '@chill.custom_field.helper'
|
|
- '%chill_custom_fields.show_empty_values%'
|
|
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 }
|
|
|