public function getPackageXml($package, $version) { return new Horde_Pear_Package_Xml($this->_rest->fetchReleasePackageXml($package, $version)); }
/** * Return a PEAR package representation for the component. * * @return Horde_Pear_Package_Xml The package representation. */ protected function getPackageXml() { if (!isset($this->_package)) { $this->_package = $this->_remote->getPackageXml($this->getName(), $this->getVersion()); } return $this->_package; }