Ejemplo n.º 1
0
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus)
 {
     parent::__construct($eventStore, $eventBus, 'Pollo\\Core\\Domain\\Model\\Poll\\Poll', new PublicConstructorAggregateFactory());
 }
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, array $eventStreamDecorators = array())
 {
     parent::__construct($eventStore, $eventBus, ExpenseList::class, new NamedConstructorAggregateFactory(), $eventStreamDecorators);
 }
Ejemplo n.º 3
0
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, array $eventStreamDecorators = [])
 {
     parent::__construct($eventStore, $eventBus, '\\HangmanBundle\\Game\\Domain\\Game\\Game', new PublicConstructorAggregateFactory(), $eventStreamDecorators);
 }
Ejemplo n.º 4
0
 public function __construct(\Broadway\EventStore\EventStoreInterface $eventStore, \Broadway\EventHandling\EventBusInterface $eventBus)
 {
     parent::__construct($eventStore, $eventBus, 'Marriage\\Domain\\Marriage', new \Broadway\EventSourcing\AggregateFactory\PublicConstructorAggregateFactory());
 }
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, Connection $connection)
 {
     $this->eventStore = $eventStore;
     $this->connection = $connection;
     parent::__construct($eventStore, $eventBus, Part::class, new PublicConstructorAggregateFactory());
 }
Ejemplo n.º 6
0
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, array $eventStreamDecorators = array())
 {
     parent::__construct($eventStore, $eventBus, '\\BroadwayDemo\\Basket\\Basket', new PublicConstructorAggregateFactory(), $eventStreamDecorators);
 }
 public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, array $eventStreamDecorators = [])
 {
     parent::__construct($eventStore, $eventBus, Account::class, new PublicConstructorAggregateFactory(), $eventStreamDecorators);
 }