public function withVersion(int $version): self
    {
        $obj = clone $this;
        $obj->_version = $version;
        return $obj;
    }
public function withVersion(int $version): self
    {
        $obj = clone $this;
        $obj->_version = $version;
        return $obj;
    }
public function withVersion ( int $ version ) : self { $ obj = clone $ this ; $ obj -> _version = $ version ; return $ obj ; }
Get self with given version.

If version is not set, appropriate version is automatically
determined during signing.

@param int $version
@return self
Get self with given version .