mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
Remove ReportSearch class and update services config
Removed the ReportSearch class from ChillReportBundle and updated the corresponding services configuration. This removal is part of a larger refactoring process to enhance maintainability, eliminate unused code and simplify application architecture. This will not affect the application's functionality as the class was not used.
This commit is contained in:
@@ -3,18 +3,7 @@ services:
|
||||
# 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:
|
||||
@@ -26,7 +15,7 @@ services:
|
||||
tags:
|
||||
- { name: chill.timeline, context: 'person' }
|
||||
- { name: chill.timeline, context: 'center' }
|
||||
|
||||
|
||||
chill.report.security.authorization.report_voter:
|
||||
class: Chill\ReportBundle\Security\Authorization\ReportVoter
|
||||
arguments:
|
||||
@@ -34,7 +23,7 @@ services:
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
- { name: chill.role }
|
||||
|
||||
|
||||
chill.report.form.report_type:
|
||||
class: Chill\ReportBundle\Form\ReportType
|
||||
arguments:
|
||||
@@ -44,4 +33,4 @@ services:
|
||||
- "@doctrine.orm.entity_manager"
|
||||
tags:
|
||||
- { name: form.type, alias: chill_reportbundle_report }
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user