You are here

public function SimpleLdap::connect in Simple LDAP 8

Wrapper function for ldap_connect().

Throws

\Drupal\simple_ldap\SimpleLdapException

File

src/SimpleLdap.php, line 473

Class

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

Namespace

Drupal\simple_ldap

Code

public function connect() {
  $this->connection
    ->connect();
}