Symfony\Installer\SelfUpdateCommand::isEnabled PHP Méthode

isEnabled() public méthode

The self-update command is only available when using the installer via the PHAR file.
public isEnabled ( ) : boolean
Résultat boolean Whether the command is enabled
    public function isEnabled()
    {
        return 'phar://' === substr(__DIR__, 0, 7);
    }