PHP Класс AcmePhp\Cli\Command\SelfUpdateCommand

Heavily inspired from https://github.com/padraic/phar-updater.
Автор: Titouan Galopin ([email protected])
Наследование: extends Symfony\Component\Console\Command\Command
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$output Symfony\Component\Console\Output\OutputInterface
$version string

Защищенные методы

Метод Описание
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 ( )

Описание методов

configure() защищенный метод

protected configure ( )

execute() защищенный метод

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 getDevelopmentUpdater ( )

getGithubReleasesUpdater() защищенный метод

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

getMostRecentNonDevUpdater() защищенный метод

getPreReleaseUpdater() защищенный метод

protected getPreReleaseUpdater ( )

getStableUpdater() защищенный метод

protected getStableUpdater ( )

printAvailableUpdates() защищенный метод

protected printAvailableUpdates ( )

printCurrentDevVersion() защищенный метод

protected printCurrentDevVersion ( )

printCurrentLocalVersion() защищенный метод

protected printCurrentLocalVersion ( )

printCurrentPreReleaseVersion() защищенный метод

printCurrentStableVersion() защищенный метод

printVersion() защищенный метод

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

rollback() защищенный метод

protected rollback ( )

update() защищенный метод

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

updateToDevelopmentBuild() защищенный метод

protected updateToDevelopmentBuild ( )

updateToMostRecentNonDevRemote() защищенный метод

updateToPreReleaseBuild() защищенный метод

protected updateToPreReleaseBuild ( )

updateToStableBuild() защищенный метод

protected updateToStableBuild ( )

Описание свойств

$output защищенное свойство

protected OutputInterface,Symfony\Component\Console\Output $output
Результат Symfony\Component\Console\Output\OutputInterface

$version защищенное свойство

protected string $version
Результат string