CHANNEL_NS
CHANNEL_NS = 'http://pear.php.net/channel-1.0'
PEAR REST Interface namespaces
PEAR Channel package reader.
Reads channel packages info from and builds Package's
$rfs : \Composer\Util\RemoteFilesystem
__construct(\Composer\Util\RemoteFilesystem $rfs)
\Composer\Util\RemoteFilesystem | $rfs |
read( $url) : \Composer\Repository\Pear\ChannelInfo
Reads PEAR channel through REST interface and builds list of packages
$url | string PEAR Channel url |
selectRestVersion( $channelXml, $supportedVersions) : array|null
Reads channel supported REST interfaces and selects one of them
$channelXml | \SimpleXMLElement |
|
$supportedVersions | string[] supported PEAR REST protocols |
hash with selected version and baseUrl