\Composer\Repository\PearBaseChannelReader

Base PEAR Channel reader.

Provides xml namespaces and red

Summary

Methods
Properties
Constants
No public methods found
No public properties found
CHANNEL_NS
ALL_CATEGORIES_NS
CATEGORY_PACKAGES_INFO_NS
ALL_PACKAGES_NS
ALL_RELEASES_NS
PACKAGE_INFO_NS
__construct()
requestContent()
requestXml()
No protected properties found
N/A
No private methods found
$rfs
N/A

Constants

CHANNEL_NS

CHANNEL_NS = 'http://pear.php.net/channel-1.0'

PEAR REST Interface namespaces

ALL_CATEGORIES_NS

ALL_CATEGORIES_NS = 'http://pear.php.net/dtd/rest.allcategories'

CATEGORY_PACKAGES_INFO_NS

CATEGORY_PACKAGES_INFO_NS = 'http://pear.php.net/dtd/rest.categorypackageinfo'

ALL_PACKAGES_NS

ALL_PACKAGES_NS = 'http://pear.php.net/dtd/rest.allpackages'

ALL_RELEASES_NS

ALL_RELEASES_NS = 'http://pear.php.net/dtd/rest.allreleases'

PACKAGE_INFO_NS

PACKAGE_INFO_NS = 'http://pear.php.net/dtd/rest.package'

Properties

Methods

requestContent()

requestContent(  $origin,   $path) : \SimpleXMLElement

Read content from remote filesystem.

Parameters

$origin

string server

$path

string relative path to content

Throws

\UnexpectedValueException

Returns

\SimpleXMLElement

requestXml()

requestXml(  $origin,   $path) : \SimpleXMLElement

Read xml content from remote filesystem

Parameters

$origin

string server

$path

string relative path to content

Throws

\UnexpectedValueException

Returns

\SimpleXMLElement