Esempio n. 1
0
 public function __construct(ConnectionInterface $connection, EventSnapshotFactory $event_snapshot_factory, Identifier $starting_id, Integer_ $limit, Integer_ $chunk_size)
 {
     $this->connection = $connection;
     $this->starting_id = $starting_id;
     $this->last_id = $starting_id;
     parent::__construct($event_snapshot_factory, $limit, $chunk_size);
 }
Esempio n. 2
0
 public function __construct(ConnectionInterface $connection, EventSnapshotFactory $event_snapshot_factory, Identifier $aggregate_id, Integer_ $starting_offset, Integer_ $limit, Integer_ $chunk_size)
 {
     $this->connection = $connection;
     $this->aggregate_id = $aggregate_id;
     $this->starting_offset = $starting_offset;
     $this->current_offset = $starting_offset;
     parent::__construct($event_snapshot_factory, $limit, $chunk_size);
 }