Net_SSH2::__destruct PHP Method

__destruct() public method

Will be called, automatically, if you're supporting just PHP5. If you're supporting PHP4, you'll need to call disconnect().
public __destruct ( )
    function __destruct()
    {
        $this->disconnect();
    }

Usage Example

Example #1
0
 public function __destruct()
 {
     return @parent::__destruct();
 }