public function getDependencies($package, $version) { $deps = new Horde_Pear_Rest_Dependencies($this->_rest->fetchPackageDependencies($package, $version)); return $deps->getDependencies(); }
/** * Return the dependencies for the component. * * @return array The component dependencies. */ public function getDependencies() { return $this->_remote->getDependencies($this->getName(), $this->getVersion()); }