src/Domain/Model/AggregateRoot.php
public function committedVersion(): ?int
    {
        if ($this->committedVersion === null) {
            $this->committedVersion = $this->eventCollection()->committedSequence();
        }

        return $this->committedVersion;
    }
public function committedVersion(): ?int
    {
        if ($this->committedVersion === null) {
            $this->committedVersion = $this->eventCollection()->committedSequence();
        }

        return $this->committedVersion;
    }
public function committedVersion ( ) : ? int { if ( $ this -> committedVersion === null ) { $ this -> committedVersion = $ this -> eventCollection ( ) -> committedSequence ( ) ; } return $ this -> committedVersion ; }
Retrieves the committed version

@return int|null
Retrieves the committed version