PHP Class PhpBrew\Extension\Provider\PeclProvider

Inheritance: implements PhpBrew\Extension\Provider\Provider
显示文件 Open project: phpbrew/phpbrew Class Usage Examples

Public Properties

Property Type Description
$defaultVersion
$owner
$packageName
$repository
$site

Public Methods

Method Description
__construct ( CLIFramework\Logger $logger, OptionResult $options )
buildKnownReleasesUrl ( )
buildPackageDownloadUrl ( $version = 'stable' )
exists ( $url, $packageName = null )
extractPackageCommands ( $currentPhpExtensionDirectory, $targetFilePath )
getDefaultVersion ( )
getName ( )
getOwner ( )
getPackageName ( )
getRepository ( )
isBundled ( $name )
parseKnownReleasesResponse ( $content )
postExtractPackageCommands ( $currentPhpExtensionDirectory, $targetFilePath )
resolveDownloadFileName ( $version )
setDefaultVersion ( $version )
setOwner ( $owner )
setPackageName ( $packageName )
setRepository ( $repository )
shouldLookupRecursive ( )

Protected Methods

Method Description
getPackageXml ( $packageName, $version )

Method Details

__construct() public method

public __construct ( CLIFramework\Logger $logger, OptionResult $options )
$logger CLIFramework\Logger
$options GetOptionKit\OptionResult

buildKnownReleasesUrl() public method

buildPackageDownloadUrl() public method

public buildPackageDownloadUrl ( $version = 'stable' )

exists() public method

public exists ( $url, $packageName = null )

extractPackageCommands() public method

public extractPackageCommands ( $currentPhpExtensionDirectory, $targetFilePath )

getDefaultVersion() public method

public getDefaultVersion ( )

getName() public static method

public static getName ( )

getOwner() public method

public getOwner ( )

getPackageName() public method

public getPackageName ( )

getPackageXml() protected method

protected getPackageXml ( $packageName, $version )

getRepository() public method

public getRepository ( )

isBundled() public method

public isBundled ( $name )

parseKnownReleasesResponse() public method

public parseKnownReleasesResponse ( $content )

postExtractPackageCommands() public method

public postExtractPackageCommands ( $currentPhpExtensionDirectory, $targetFilePath )

resolveDownloadFileName() public method

public resolveDownloadFileName ( $version )

setDefaultVersion() public method

public setDefaultVersion ( $version )

setOwner() public method

public setOwner ( $owner )

setPackageName() public method

public setPackageName ( $packageName )

setRepository() public method

public setRepository ( $repository )

shouldLookupRecursive() public method

Property Details

$defaultVersion public_oe property

public $defaultVersion

$owner public_oe property

public $owner

$packageName public_oe property

public $packageName

$repository public_oe property

public $repository

$site public_oe property

public $site