PHP Class PhpBrew\Extension\Provider\GithubProvider

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
buildKnownReleasesUrl ( )
buildPackageDownloadUrl ( $version = 'master' ) By default we install extension from master branch.
exists ( $dsl, $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 ( )

Method Details

buildKnownReleasesUrl() public method

buildPackageDownloadUrl() public method

By default we install extension from master branch.
public buildPackageDownloadUrl ( $version = 'master' )

exists() public method

public exists ( $dsl, $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 ( )

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