Composer API
Class

Composer\Repository\Pear\PackageInfo

class PackageInfo

PEAR Package info

Methods

__construct(string $channelName, string $packageName, string $license, string $shortDescription, string $description, ReleaseInfo[] $releases)

string getChannelName()

string getPackageName()

string getDescription()

string getShortDescription()

string getLicense()

ReleaseInfo[] getReleases()

Details

at line 37
public __construct(string $channelName, string $packageName, string $license, string $shortDescription, string $description, ReleaseInfo[] $releases)

Parameters

string $channelName
string $packageName
string $license
string $shortDescription
string $description
ReleaseInfo[] $releases associative array maps release version to release info

at line 50
public string getChannelName()

Return Value

string the package channel name

at line 58
public string getPackageName()

Return Value

string the package name

at line 66
public string getDescription()

Return Value

string the package description

at line 74
public string getShortDescription()

Return Value

string the package short description

at line 82
public string getLicense()

Return Value

string the package license

at line 90
public ReleaseInfo[] getReleases()

Return Value

ReleaseInfo[]