Symfony\Installer\SelfUpdateCommand::isEnabled PHP Метод

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);
    }