Net_SSH2::disconnect PHP Method

disconnect() public method

Disconnect
public disconnect ( )
    function disconnect()
    {
        $this->_disconnect(NET_SSH2_DISCONNECT_BY_APPLICATION);
        if (isset($this->realtime_log_file) && is_resource($this->realtime_log_file)) {
            fclose($this->realtime_log_file);
        }
    }

Usage Example

Example #1
0
 /**
  *
  */
 public function close()
 {
     $this->ssh->disconnect();
 }
All Usage Examples Of Net_SSH2::disconnect