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); }
public function __construct(EventStoreInterface $eventStore, EventBusInterface $eventBus, array $eventStreamDecorators = []) { parent::__construct($eventStore, $eventBus, '\\HangmanBundle\\Game\\Domain\\Game\\Game', new PublicConstructorAggregateFactory(), $eventStreamDecorators); }
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()); }
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); }