Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Symfony
Installer
SelfUpdateCommand
isEnabled
Symfony\Installer\SelfUpdateCommand::isEnabled PHP Метод
Документация по классу SelfUpdateCommand
Показать файл
Открыть проект
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
public function isEnabled() { return 'phar://' === substr(__DIR__, 0, 7); }
SelfUpdateCommand
backupCurrentVersion
checkNewVersionIsValid
cleanUp
configure
downloadNewVersion
execute
getDownloadedApplicationType
getRemoteFileUrl
initialize
isEnabled
replaceCurrentVersionbyNewVersion
rollback