Pantheon\Terminus\Commands\Remote\SSHBaseCommand::validateConnectionMode PHP Метод

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

Validates that the environment is using the correct connection mode
protected validateConnectionMode ( string $mode )
$mode string
    protected function validateConnectionMode($mode)
    {
        if ($mode == 'git') {
            $this->log()->notice("This environment is in read-only Git mode. " . "If you want to make changes to the codebase of this site " . "(e.g. updating modules or plugins), " . "you will need to toggle into read/write SFTP mode first.");
        }
    }