Property | Type | Description | |
---|---|---|---|
$allowMajor | |||
$allowUnstable | |||
$config | |||
$input | |||
$output | |||
$questionHelper | |||
$stdErr | |||
$timeout |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null, |
Updater constructor. | |
setAllowMajor ( boolean $allowMajor = true ) | Set the updater to allow major version updates. | |
setAllowUnstable ( boolean $allowUnstable = true ) | Set the updater to allow unstable versions. | |
setTimeout ( integer $timeout ) | Set the timeout for the version check. | |
update ( string | null $manifestUrl = null, string | null $currentVersion = null ) : false | string | Run the update. |
public __construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null, |
||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
$cliConfig | ||
$questionHelper |
public setAllowMajor ( boolean $allowMajor = true ) | ||
$allowMajor | boolean |
public setAllowUnstable ( boolean $allowUnstable = true ) | ||
$allowUnstable | boolean |
public setTimeout ( integer $timeout ) | ||
$timeout | integer | The timeout in seconds. |