Property | Type | Description | |
---|---|---|---|
$_db | PDO | Database handle. |
Method | Description | |
---|---|---|
__construct ( PDO $db ) | Constructor. | |
addNewVersion ( array $info = [] ) | Adds a new version to an application. |
Method | Description | |
---|---|---|
_stateFromVersion ( string $version ) : string | Returns the release stability of a version. |
protected _stateFromVersion ( string $version ) : string | ||
$version | string | A version string. |
return | string | Release stability information. |
public addNewVersion ( array $info = [] ) | ||
$info | array | Hash with the version information. Possible keys: - application: (string) The name of the application. - version: (string) The version string. - state: (string) The version state. One of "stable", "dev", "three". By default automatically detected from "version. - date: (DateTime) The release date. Defaults to today. - pear: (boolean) A PEAR release? Defaults to true. - dir: (string) Optional website directory, if not "application". |