Horde_Pear_Remote::getDependencies PHP Method

getDependencies() public method

Retrieve the dependencies for the specified package release.
public getDependencies ( string $package, string $version ) : array
$package string The package name.
$version string The package version.
return array The package dependencies.
    public function getDependencies($package, $version)
    {
        $deps = new Horde_Pear_Rest_Dependencies($this->_rest->fetchPackageDependencies($package, $version));
        return $deps->getDependencies();
    }

Usage Example

コード例 #1
0
ファイル: Remote.php プロジェクト: jubinpatel/horde
 /**
  * Return the dependencies for the component.
  *
  * @return array The component dependencies.
  */
 public function getDependencies()
 {
     return $this->_remote->getDependencies($this->getName(), $this->getVersion());
 }
All Usage Examples Of Horde_Pear_Remote::getDependencies