public function getPackageCopy()
    {
        $copy = new Package(
            $this->package->getName(),
            $this->package->getVersion(),
            $this->package->getPrettyVersion()
        );
        $copy->setType($this->package->getType());
        $copy->setExtra($this->package->getExtra());

        return $copy;
    }
public function getPackageCopy()
    {
        $copy = new Package(
            $this->package->getName(),
            $this->package->getVersion(),
            $this->package->getPrettyVersion()
        );
        $copy->setType($this->package->getType());
        $copy->setExtra($this->package->getExtra());

        return $copy;
    }
public function getPackageCopy ( ) { $ copy = new Package ( $ this -> package -> getName ( ) , $ this -> package -> getVersion ( ) , $ this -> package -> getPrettyVersion ( ) ) ; $ copy -> setType ( $ this -> package -> getType ( ) ) ; $ copy -> setExtra ( $ this -> package -> getExtra ( ) ) ; return $ copy ; }
Get a simple copy of the package.

@return Package
Get a simple copy of the package .