/** * GenerateCommand constructor. * @param CommandGenerator $generator * @param CommandHandlerGenerator $handlerGenerator * @param CommandHandlerFactoryGenerator $factoryGenerator */ public function __construct(CommandGenerator $generator, CommandHandlerGenerator $handlerGenerator, CommandHandlerFactoryGenerator $factoryGenerator) { $this->commandGenerator = $generator; $this->commandHandlerGenerator = $handlerGenerator; $this->commandHandlerFactoryGenerator = $factoryGenerator; parent::__construct(); }
/** * GenerateEvent constructor. * @param EventGenerator $generator */ public function __construct(EventGenerator $generator) { $this->generator = $generator; parent::__construct(); }
/** * GenerateEvent constructor. * @param AggregateGenerator $generator */ public function __construct(AggregateGenerator $generator) { $this->generator = $generator; parent::__construct(); }