You are here

public function LdapServer::__destruct in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_servers/LdapServer.class.php \LdapServer::__destruct()
  2. 7 ldap_servers/LdapServer.class.php \LdapServer::__destruct()

Destructor Method.

1 method overrides LdapServer::__destruct()
LdapServerTest::__destruct in ldap_test/LdapServerTest.class.php
Destructor Method.

File

ldap_servers/LdapServer.class.php, line 338
Defines server classes and related functions.

Class

LdapServer
LDAP Server Class.

Code

public function __destruct() {

  // Close the server connection to be sure.
  $this
    ->disconnect();
}