src/Domain/Model/EventCollection.php
public function initializeSequence(int $committedSequence): void
    {
        assert($this->isEmpty(), 'Cannot initialize sequence after adding events');
        $this->committedSequence = $committedSequence;
    }
public function initializeSequence(int $committedSequence): void
    {
        assert($this->isEmpty(), 'Cannot initialize sequence after adding events');
        $this->committedSequence = $committedSequence;
    }
public function initializeSequence ( int $ committedSequence ) : void { assert ( $ this -> isEmpty ( ) , 'Cannot initialize sequence after adding events' ) ; $ this -> committedSequence = $ committedSequence ; }
Initializes the committed sequence

@param int $committedSequence The committed sequence number

@return void
Initializes the committed sequence