public function importVersion($version)
    {
        return $this
            ->setMajor($version->getMajor())
            ->setMinor($version->getMinor())
            ->setPatch($version->getPatch())
            ->setPreRelease($version->getPreRelease())
            ->setBuild($version->getBuild());
    }
public function importVersion($version)
    {
        return $this
            ->setMajor($version->getMajor())
            ->setMinor($version->getMinor())
            ->setPatch($version->getPatch())
            ->setPreRelease($version->getPreRelease())
            ->setBuild($version->getBuild());
    }
public function importVersion ( $ version ) { return $ this -> setMajor ( $ version -> getMajor ( ) ) -> setMinor ( $ version -> getMinor ( ) ) -> setPatch ( $ version -> getPatch ( ) ) -> setPreRelease ( $ version -> getPreRelease ( ) ) -> setBuild ( $ version -> getBuild ( ) ) ; }
Imports an existing Version instance.

@param Version $version A Version instance.

@return Builder The Version builder.
Imports an existing Version instance .