コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * GenerateEvent constructor.
  * @param EventGenerator $generator
  */
 public function __construct(EventGenerator $generator)
 {
     $this->generator = $generator;
     parent::__construct();
 }
コード例 #3
0
 /**
  * GenerateEvent constructor.
  * @param AggregateGenerator $generator
  */
 public function __construct(AggregateGenerator $generator)
 {
     $this->generator = $generator;
     parent::__construct();
 }