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
Show file Open project: acmephp/acmephp

Protected Properties

Property Type Description
$output Symfony\Component\Console\Output\OutputInterface
$version string

Protected Methods

Method 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 method

protected configure ( )

execute() protected method

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 method

protected getDevelopmentUpdater ( )

getGithubReleasesUpdater() protected method

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

getMostRecentNonDevUpdater() protected method

getPreReleaseUpdater() protected method

protected getPreReleaseUpdater ( )

getStableUpdater() protected method

protected getStableUpdater ( )

printAvailableUpdates() protected method

protected printAvailableUpdates ( )

printCurrentDevVersion() protected method

protected printCurrentDevVersion ( )

printCurrentLocalVersion() protected method

protected printCurrentLocalVersion ( )

printCurrentPreReleaseVersion() protected method

printCurrentStableVersion() protected method

printVersion() protected method

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

rollback() protected method

protected rollback ( )

update() protected method

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

updateToDevelopmentBuild() protected method

protected updateToDevelopmentBuild ( )

updateToMostRecentNonDevRemote() protected method

updateToPreReleaseBuild() protected method

protected updateToPreReleaseBuild ( )

updateToStableBuild() protected method

protected updateToStableBuild ( )

Property Details

$output protected property

protected OutputInterface,Symfony\Component\Console\Output $output
return Symfony\Component\Console\Output\OutputInterface

$version protected property

protected string $version
return string