PHP Class AcmePhp\Cli\Command\SelfUpdateCommand

Heavily inspired from https://github.com/padraic/phar-updater.
Author: Titouan Galopin ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Afficher le fichier Open project: acmephp/acmephp

Protected Properties

Свойство Type Description
$output Symfony\Component\Console\Output\OutputInterface
$version string

Méthodes protégées

Méthode Description
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDevelopmentUpdater ( )
getGithubReleasesUpdater ( Humbug\SelfUpdate\Updater $updater )
getMostRecentNonDevUpdater ( )
getPreReleaseUpdater ( )
getStableUpdater ( )
printAvailableUpdates ( )
printCurrentDevVersion ( )
printCurrentLocalVersion ( )
printCurrentPreReleaseVersion ( )
printCurrentStableVersion ( )
printVersion ( Humbug\SelfUpdate\Updater $updater )
rollback ( )
update ( Humbug\SelfUpdate\Updater $updater )
updateToDevelopmentBuild ( )
updateToMostRecentNonDevRemote ( )
updateToPreReleaseBuild ( )
updateToStableBuild ( )

Method Details

configure() protected méthode

protected configure ( )

execute() protected méthode

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getDevelopmentUpdater() protected méthode

protected getDevelopmentUpdater ( )

getGithubReleasesUpdater() protected méthode

protected getGithubReleasesUpdater ( Humbug\SelfUpdate\Updater $updater )
$updater Humbug\SelfUpdate\Updater

getMostRecentNonDevUpdater() protected méthode

getPreReleaseUpdater() protected méthode

protected getPreReleaseUpdater ( )

getStableUpdater() protected méthode

protected getStableUpdater ( )

printAvailableUpdates() protected méthode

protected printAvailableUpdates ( )

printCurrentDevVersion() protected méthode

protected printCurrentDevVersion ( )

printCurrentLocalVersion() protected méthode

protected printCurrentLocalVersion ( )

printCurrentPreReleaseVersion() protected méthode

printCurrentStableVersion() protected méthode

printVersion() protected méthode

protected printVersion ( Humbug\SelfUpdate\Updater $updater )
$updater Humbug\SelfUpdate\Updater

rollback() protected méthode

protected rollback ( )

update() protected méthode

protected update ( Humbug\SelfUpdate\Updater $updater )
$updater Humbug\SelfUpdate\Updater

updateToDevelopmentBuild() protected méthode

protected updateToDevelopmentBuild ( )

updateToMostRecentNonDevRemote() protected méthode

updateToPreReleaseBuild() protected méthode

protected updateToPreReleaseBuild ( )

updateToStableBuild() protected méthode

protected updateToStableBuild ( )

Property Details

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\OutputInterface

$version protected_oe property

protected string $version
Résultat string