public function getVersion()
    {
        return new Version(
            $this->major,
            $this->minor,
            $this->patch,
            $this->preRelease,
            $this->build
        );
    }
public function getVersion()
    {
        return new Version(
            $this->major,
            $this->minor,
            $this->patch,
            $this->preRelease,
            $this->build
        );
    }
public function getVersion ( ) { return new Version ( $ this -> major , $ this -> minor , $ this -> patch , $ this -> preRelease , $ this -> build ) ; }
Returns a readonly Version instance.

@return Version The readonly Version instance.
Returns a readonly Version instance .