Exemplo n.º 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();
 }
Exemplo n.º 2
0
 /**
  * GenerateEvent constructor.
  * @param EventGenerator $generator
  */
 public function __construct(EventGenerator $generator)
 {
     $this->generator = $generator;
     parent::__construct();
 }
Exemplo n.º 3
0
 /**
  * GenerateEvent constructor.
  * @param AggregateGenerator $generator
  */
 public function __construct(AggregateGenerator $generator)
 {
     $this->generator = $generator;
     parent::__construct();
 }