Skip to content

Commit 639601c

Browse files
committed
change naming
1 parent 411efe6 commit 639601c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/Ecotone/src/Lite/Test/FlowTestSupport.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
use Ecotone\Modelling\AggregateFlow\SaveAggregate\AggregateResolver\AggregateDefinitionRegistry;
2424
use Ecotone\Modelling\AggregateMessage;
2525
use Ecotone\Modelling\CommandBus;
26-
use Ecotone\Modelling\Config\AggregrateHandlerModule;
26+
use Ecotone\Modelling\Config\AggregrateModule;
2727
use Ecotone\Modelling\Config\MessageBusChannel;
2828
use Ecotone\Modelling\Event;
2929
use Ecotone\Modelling\EventBus;
@@ -194,7 +194,7 @@ public function withEventsFor(string|object|array $identifiers, string $aggregat
194194
AggregateMessage::CALLED_AGGREGATE_INSTANCE => new $aggregateClass(),
195195
AggregateMessage::RECORDED_AGGREGATE_EVENTS => $events,
196196
],
197-
AggregrateHandlerModule::getRegisterAggregateSaveRepositoryInputChannel($aggregateClass). '.test_setup_state'
197+
AggregrateModule::getRegisterAggregateSaveRepositoryInputChannel($aggregateClass). '.test_setup_state'
198198
);
199199

200200
return $this;
@@ -208,7 +208,7 @@ public function withStateFor(object $aggregate): self
208208
AggregateMessage::CALLED_AGGREGATE_INSTANCE => $aggregate,
209209
AggregateMessage::CALLED_AGGREGATE_CLASS => $aggregate::class,
210210
],
211-
AggregrateHandlerModule::getRegisterAggregateSaveRepositoryInputChannel($aggregate::class). '.test_setup_state'
211+
AggregrateModule::getRegisterAggregateSaveRepositoryInputChannel($aggregate::class). '.test_setup_state'
212212
);
213213

214214
return $this;
@@ -347,7 +347,7 @@ public function getAggregate(string $className, string|int|array|object $identif
347347
[
348348
AggregateMessage::OVERRIDE_AGGREGATE_IDENTIFIER => is_object($identifiers) ? (string)$identifiers : $identifiers,
349349
],
350-
AggregrateHandlerModule::getRegisterAggregateLoadRepositoryInputChannel($className, false)
350+
AggregrateModule::getRegisterAggregateLoadRepositoryInputChannel($className, false)
351351
);
352352
}
353353

packages/Ecotone/src/Messaging/Config/ModuleClassList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
use Ecotone\Messaging\Handler\Logger\Config\LoggingModule;
4747
use Ecotone\Messaging\Handler\Logger\Config\MessageHandlerLogger;
4848
use Ecotone\Modelling\CommandBus;
49-
use Ecotone\Modelling\Config\AggregrateHandlerModule;
49+
use Ecotone\Modelling\Config\AggregrateModule;
5050
use Ecotone\Modelling\Config\DistributedGatewayModule;
5151
use Ecotone\Modelling\Config\InstantRetry\InstantRetryModule;
5252
use Ecotone\Modelling\Config\MessageHandlerRoutingModule;
@@ -68,7 +68,7 @@ class ModuleClassList
6868
{
6969
public const CORE_MODULES = [
7070
DistributedGatewayModule::class,
71-
AggregrateHandlerModule::class,
71+
AggregrateModule::class,
7272
ServiceHandlerModule::class,
7373
MessageHandlerRoutingModule::class,
7474
MethodInterceptorModule::class,

packages/Ecotone/src/Modelling/Config/AggregrateHandlerModule.php renamed to packages/Ecotone/src/Modelling/Config/AggregrateModule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
/**
6464
* licence Apache-2.0
6565
*/
66-
class AggregrateHandlerModule implements AnnotationModule
66+
class AggregrateModule implements AnnotationModule
6767
{
6868
/**
6969
* @param string[] $aggregateClasses

0 commit comments

Comments
 (0)