src/Composer/Repository/Pear/ChannelRest10Reader.php
private function readPackageReleaseDependencies($baseUrl, $packageName, $version)
    {
        $dependencyReader = new PackageDependencyParser();

        $depthPath = '/r/' . strtolower($packageName) . '/deps.' . $version . '.txt';
        $content = $this->requestContent($baseUrl, $depthPath);
        $dependencyArray = unserialize($content);

        return $dependencyReader->buildDependencyInfo($dependencyArray);
    }
private function readPackageReleaseDependencies($baseUrl, $packageName, $version)
    {
        $dependencyReader = new PackageDependencyParser();

        $depthPath = '/r/' . strtolower($packageName) . '/deps.' . $version . '.txt';
        $content = $this->requestContent($baseUrl, $depthPath);
        $dependencyArray = unserialize($content);

        return $dependencyReader->buildDependencyInfo($dependencyArray);
    }
private function readPackageReleaseDependencies ( $ baseUrl , $ packageName , $ version ) { $ dependencyReader = new PackageDependencyParser ( ) ; $ depthPath = '/r/' . strtolower ( $ packageName ) . '/deps.' . $ version . '.txt' ; $ content = $ this -> requestContent ( $ baseUrl , $ depthPath ) ; $ dependencyArray = unserialize ( $ content ) ; return $ dependencyReader -> buildDependencyInfo ( $ dependencyArray ) ; }
Read package dependencies from
{baseUrl}/p/{package}/deps.{version}.txt

@param string $baseUrl
@param string $packageName
@param string $version
@return DependencyInfo[]
Read package dependencies from { baseUrl } / p / { package } / deps . { version } . txt