mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: [export] Rename JobAggregator to more logical UserJobAggregator
This commit is contained in:
parent
050a4feab5
commit
8e3a83de85
@ -19,7 +19,7 @@ use Doctrine\ORM\QueryBuilder;
|
|||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use function in_array;
|
use function in_array;
|
||||||
|
|
||||||
final class JobAggregator implements AggregatorInterface
|
final class UserJobAggregator implements AggregatorInterface
|
||||||
{
|
{
|
||||||
private UserJobRepository $jobRepository;
|
private UserJobRepository $jobRepository;
|
||||||
|
|
@ -13,16 +13,16 @@ namespace Chill\PersonBundle\Tests\Export\Aggregator\AccompanyingCourseAggregato
|
|||||||
|
|
||||||
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
|
use Chill\MainBundle\Test\Export\AbstractAggregatorTest;
|
||||||
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
use Chill\PersonBundle\Entity\AccompanyingPeriod;
|
||||||
use Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\JobAggregator;
|
use Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\UserJobAggregator;
|
||||||
use Doctrine\ORM\EntityManagerInterface;
|
use Doctrine\ORM\EntityManagerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
* @coversNothing
|
* @coversNothing
|
||||||
*/
|
*/
|
||||||
final class JobAggregatorTest extends AbstractAggregatorTest
|
final class UserJobAggregatorTest extends AbstractAggregatorTest
|
||||||
{
|
{
|
||||||
private JobAggregator $aggregator;
|
private UserJobAggregator $aggregator;
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
@ -136,7 +136,7 @@ services:
|
|||||||
- { name: chill.export_aggregator, alias: accompanyingcourse_scope_aggregator }
|
- { name: chill.export_aggregator, alias: accompanyingcourse_scope_aggregator }
|
||||||
|
|
||||||
chill.person.export.aggregator_referrer_job:
|
chill.person.export.aggregator_referrer_job:
|
||||||
class: Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\JobAggregator
|
class: Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\UserJobAggregator
|
||||||
tags:
|
tags:
|
||||||
- { name: chill.export_aggregator, alias: accompanyingcourse_referrer_job_aggregator }
|
- { name: chill.export_aggregator, alias: accompanyingcourse_referrer_job_aggregator }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user