src/DomainModel/Config/AggregateMessagingModule.php
public static function create(AnnotationRegistrationService $annotationRegistrationService): AnnotationModule
    {
        return new self(
            ParameterConverterAnnotationFactory::create(),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, CommandHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, CommandHandler::class),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, QueryHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, QueryHandler::class),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, EventHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, EventHandler::class)
        );
    }
public static function create(AnnotationRegistrationService $annotationRegistrationService): AnnotationModule
    {
        return new self(
            ParameterConverterAnnotationFactory::create(),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, CommandHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, CommandHandler::class),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, QueryHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, QueryHandler::class),
            $annotationRegistrationService->findRegistrationsFor(Aggregate::class, EventHandler::class),
            $annotationRegistrationService->findRegistrationsFor(MessageEndpoint::class, EventHandler::class)
        );
    }
public static function create ( AnnotationRegistrationService $ annotationRegistrationService ) : AnnotationModule { return new self ( ParameterConverterAnnotationFactory :: create ( ) , $ annotationRegistrationService -> findRegistrationsFor ( Aggregate :: class , CommandHandler :: class ) , $ annotationRegistrationService -> findRegistrationsFor ( MessageEndpoint :: class , CommandHandler :: class ) , $ annotationRegistrationService -> findRegistrationsFor ( Aggregate :: class , QueryHandler :: class ) , $ annotationRegistrationService -> findRegistrationsFor ( MessageEndpoint :: class , QueryHandler :: class ) , $ annotationRegistrationService -> findRegistrationsFor ( Aggregate :: class , EventHandler :: class ) , $ annotationRegistrationService -> findRegistrationsFor ( MessageEndpoint :: class , EventHandler :: class ) ) ; }
In here we should provide messaging component for module

@inheritDoc
In here we should provide messaging component for module