Composer API
Class

Composer\Repository\Pear\ChannelRest10Reader

class ChannelRest10Reader extends BaseChannelReader

Read PEAR packages using REST 1.0 interface

At version 1.0 package descriptions read from: {baseUrl}/p/packages.xml {baseUrl}/p/{package}/info.xml {baseUrl}/p/{package}/allreleases.xml {baseUrl}/p/{package}/deps.{version}.txt

Constants

CHANNEL_NS

PEAR REST Interface namespaces

ALL_CATEGORIES_NS

CATEGORY_PACKAGES_INFO_NS

ALL_PACKAGES_NS

ALL_RELEASES_NS

PACKAGE_INFO_NS

Methods

__construct($rfs)

PackageInfo[] read($baseUrl $baseUrl)

Reads package descriptions using PEAR Rest 1.0 interface

Details

at line 32
public __construct($rfs)

Parameters

$rfs

at line 46
public PackageInfo[] read($baseUrl $baseUrl)

Reads package descriptions using PEAR Rest 1.0 interface

Parameters

$baseUrl $baseUrl string base Url interface

Return Value

PackageInfo[]