Deployment\SshServer::removeFile PHP Метод

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

Removes file from FTP server if exists.
public removeFile ( $file ) : void
Результат void
    public function removeFile($file)
    {
        if (file_exists($path = "ssh2.sftp://{$this->sftp}{$file}")) {
            $this->protect('unlink', [$path]);
        }
    }