PHP Class PhpBrew\ReleaseList

Afficher le fichier Open project: phpbrew/phpbrew Class Usage Examples

Méthodes publiques

Свойство Type Description
$releases .. ] $releases['5.4'] = [ },... ] $releases['5.5'] = [ },... ].
$versions

Méthodes publiques

Méthode Description
__construct ( $releases = [] )
buildReleaseListFromOfficialSite ( OptionResult $options = null )
fetchRemoteReleaseList ( OptionResult $options = null )
foundLocalReleaseList ( )
getLatestPatchVersion ( $version )
getLatestVersion ( ) Returns the latest PHP version.
getReadyInstance ( OptionResult $options = null )
getReleases ( )
getVersion ( $version )
getVersions ( $key ) Get version by minor version number.
loadJson ( $json )
loadJsonFile ( $file )
loadLocalReleaseList ( )
save ( )
setReleases ( array $releases )

Private Methods

Méthode Description
downloadReleaseListFromOfficialSite ( $version, OptionResult $options = null )

Method Details

__construct() public méthode

public __construct ( $releases = [] )

buildReleaseListFromOfficialSite() public static méthode

public static buildReleaseListFromOfficialSite ( OptionResult $options = null )
$options GetOptionKit\OptionResult

fetchRemoteReleaseList() public méthode

public fetchRemoteReleaseList ( OptionResult $options = null )
$options GetOptionKit\OptionResult

foundLocalReleaseList() public méthode

getLatestPatchVersion() public méthode

public getLatestPatchVersion ( $version )

getLatestVersion() public méthode

Returns the latest PHP version.
public getLatestVersion ( )

getReadyInstance() public static méthode

public static getReadyInstance ( OptionResult $options = null )
$options GetOptionKit\OptionResult

getReleases() public méthode

public getReleases ( )

getVersion() public méthode

public getVersion ( $version )

getVersions() public méthode

Get version by minor version number.
public getVersions ( $key )

loadJson() public méthode

public loadJson ( $json )

loadJsonFile() public méthode

public loadJsonFile ( $file )

loadLocalReleaseList() public méthode

save() public méthode

public save ( )

setReleases() public méthode

public setReleases ( array $releases )
$releases array

Property Details

$releases public_oe property

.. ] $releases['5.4'] = [ },... ] $releases['5.5'] = [ },... ].
public $releases

$versions public_oe property

public $versions