PHP Класс Symfony\Installer\SelfUpdateCommand

Автор: Igor Wiedler ([email protected])
Автор: Stephane PY ([email protected])
Автор: Grégoire Pineau ([email protected])
Наследование: extends DownloadCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
isEnabled ( ) : boolean The self-update command is only available when using the installer via the PHAR file.

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

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
getDownloadedApplicationType ( )
getRemoteFileUrl ( )
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Приватные методы

Метод Описание
backupCurrentVersion ( ) Does a backup of the current version of the Symfony installer.
checkNewVersionIsValid ( ) Checks if the new version is valid.
cleanUp ( ) Removes the temporary used files.
downloadNewVersion ( ) Downloads the new version of the Symfony installer.
replaceCurrentVersionbyNewVersion ( ) Replaces the currenct version of the Symfony installer with the new one.
rollback ( ) Restores the previously installed version of the Symfony installer.

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

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

getDownloadedApplicationType() защищенный Метод

getRemoteFileUrl() защищенный Метод

protected getRemoteFileUrl ( )

initialize() защищенный Метод

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

isEnabled() публичный Метод

The self-update command is only available when using the installer via the PHAR file.
public isEnabled ( ) : boolean
Результат boolean Whether the command is enabled