You are here

public function SimpleLdap::disconnect in Simple LDAP 8

Wrapper function for ldap_close().

File

src/SimpleLdap.php, line 480

Class

SimpleLdap
A wrapper for PHP's LDAP functions, with associated helper methods.

Namespace

Drupal\simple_ldap

Code

public function disconnect() {
  $this->connection
    ->disconnect();
  $this->bound = FALSE;
}