Property | Type | Description | |
---|---|---|---|
$_isInstalled | |||
$action | |||
$currentVersion | |||
$dependencies | |||
$name | |||
$nextVersion | |||
$properties |
Method | Description | |
---|---|---|
__construct ( string $name, boolean $isInstalled, string $currentVersion, integer $action, null $nextVersion = null ) | Item constructor. | |
addDependency ( $name, $version = '*' ) | ||
getAction ( ) | ||
getCurrentVersion ( ) | ||
getDependencies ( ) | ||
getName ( ) | ||
getNextVersion ( ) | ||
getProperty ( $name ) | ||
isInstalled ( ) | ||
setAction ( $action, $nextVersion = null ) | ||
setProperty ( $name, $value ) | To set properties that can be useful for the user of the Resolver. |
public __construct ( string $name, boolean $isInstalled, string $currentVersion, integer $action, null $nextVersion = null ) | ||
$name | string | an name that is unique among all items |
$isInstalled | boolean | |
$currentVersion | string | |
$action | integer | one of Resolver::ACTION_* const |
$nextVersion | null | if action is ACTION_UPGRADE |
public setProperty ( $name, $value ) | ||
$name | ||
$value |