CHANNEL_NS
CHANNEL_NS = 'http://pear.php.net/channel-1.0'
PEAR REST Interface namespaces
Read PEAR packages using REST 1.1 interface
At version 1.1 package descriptions read from: {baseUrl}/c/categories.xml {baseUrl}/c/{category}/packagesinfo.xml
$rfs : \Composer\Util\RemoteFilesystem
__construct(\Composer\Util\RemoteFilesystem $rfs)
\Composer\Util\RemoteFilesystem | $rfs |
read( $baseUrl) : array<mixed,\Composer\Repository\Pear\PackageInfo>
Reads package descriptions using PEAR Rest 1.1 interface
$baseUrl | string base Url interface |
readChannelPackages( $baseUrl) : array<mixed,\Composer\Repository\Pear\PackageInfo>
Read list of channel categories from {baseUrl}/c/categories.xml
$baseUrl | string |
readCategoryPackages( $baseUrl, $categoryName) : array<mixed,\Composer\Repository\Pear\PackageInfo>
Read packages from {baseUrl}/c/{category}/packagesinfo.xml
$baseUrl | string |
|
$categoryName | string |
parsePackage( $packageInfo) : \Composer\Repository\Pear\PackageInfo
Parses package node.
$packageInfo | \SimpleXMLElement xml element describing package |