rename files for coherence with naming elsewhere

This commit is contained in:
Julie Lenaerts 2022-09-08 11:08:34 +02:00
parent 283de2cab8
commit f00e01d44e
4 changed files with 13 additions and 14 deletions

View File

@ -22,9 +22,8 @@ use Doctrine\ORM\AbstractQuery;
use Doctrine\ORM\QueryBuilder; use Doctrine\ORM\QueryBuilder;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Process\Exception\LogicException; use Symfony\Component\Process\Exception\LogicException;
use Symfony\Component\Security\Core\Role\Role;
class CountAppointments implements ExportInterface, GroupedExportInterface class CountCalendars implements ExportInterface, GroupedExportInterface
{ {
private CalendarRepository $calendarRepository; private CalendarRepository $calendarRepository;

View File

@ -22,7 +22,7 @@ use Doctrine\ORM\QueryBuilder;
use LogicException; use LogicException;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
class StatAppointmentAvgDuration implements ExportInterface, GroupedExportInterface class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface
{ {
private CalendarRepository $calendarRepository; private CalendarRepository $calendarRepository;

View File

@ -22,7 +22,7 @@ use Doctrine\ORM\QueryBuilder;
use LogicException; use LogicException;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
class StatAppointmentSumDuration implements ExportInterface, GroupedExportInterface class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface
{ {
private CalendarRepository $calendarRepository; private CalendarRepository $calendarRepository;

View File

@ -1,26 +1,26 @@
services: services:
## Indicators ## Indicators
chill.calendar.export.count_appointments: chill.calendar.export.count_calendars:
class: Chill\CalendarBundle\Export\Export\CountAppointments class: Chill\CalendarBundle\Export\Export\CountCalendars
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export, alias: count_appointments } - { name: chill.export, alias: count_calendars }
chill.calendar.export.average_duration_appointments: chill.calendar.export.average_duration_calendars:
class: Chill\CalendarBundle\Export\Export\StatAppointmentAvgDuration class: Chill\CalendarBundle\Export\Export\StatCalendarAvgDuration
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export, alias: average_duration_appointments } - { name: chill.export, alias: average_duration_calendars }
chill.calendar.export.sum_duration_appointments: chill.calendar.export.sum_duration_calendars:
class: Chill\CalendarBundle\Export\Export\StatAppointmentSumDuration class: Chill\CalendarBundle\Export\Export\StatCalendarSumDuration
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export, alias: sum_duration_appointments } - { name: chill.export, alias: sum_duration_calendars }
## Filters ## Filters
@ -101,4 +101,4 @@ services:
autowire: true autowire: true
autoconfigure: true autoconfigure: true
tags: tags:
- { name: chill.export_aggregator, alias: month_aggregator } - { name: chill.export_aggregator, alias: month_aggregator }