SelfUpdateCommand
class SelfUpdateCommand extends BaseCommand (View source)
Constants
HOMEPAGE |
|
OLD_INSTALL_EXT |
|
Methods
getComposer(bool $required = true, bool|null $disablePlugins = null)
No description
from BaseCommand
bool
isProxyCommand()
Whether or not this command is meant to call another command.
from BaseCommand
bool[]
getPreferredInstallOptions(Config $config, InputInterface $input, bool $keepVcsRequiresPreferSource = false)
Returns preferSource and preferDist values based on the configuration.
from BaseCommand
configure()
No description
execute(InputInterface $input, OutputInterface $output)
No description
rollback(OutputInterface $output, $rollbackDir, $localFilename)
No description
setLocalPhar(string $localFilename, string $newFilename, string $backupTarget = null)
No description
cleanBackups($rollbackDir, $except = null)
No description
getLastBackupVersion($rollbackDir)
No description
getOldInstallationFinder($rollbackDir)
No description
Details
in BaseCommand at line 51
Composer
getComposer(bool $required = true, bool|null $disablePlugins = null)
in BaseCommand at line 72
setComposer(Composer $composer)
in BaseCommand at line 80
resetComposer()
Removes the cached composer instance
in BaseCommand at line 93
bool
isProxyCommand()
Whether or not this command is meant to call another command.
This is mainly needed to avoid duplicated warnings messages.
in BaseCommand at line 101
IOInterface
getIO()
in BaseCommand at line 119
setIO(IOInterface $io)
in BaseCommand at line 127
protected
initialize(InputInterface $input, OutputInterface $output)
{@inheritDoc}
in BaseCommand at line 156
protected bool[]
getPreferredInstallOptions(Config $config, InputInterface $input, bool $keepVcsRequiresPreferSource = false)
Returns preferSource and preferDist values based on the configuration.