public function FakeLdap::bind in Lightweight Directory Access Protocol (LDAP) 8.4
File
- ldap_servers/
tests/ modules/ ldap_servers_dummy/ src/ FakeLdap.php, line 49
Class
- FakeLdap
- Fake server to simulate querying with symfony/ldap.
Namespace
Drupal\ldap_servers_dummyCode
public function bind(string $dn = NULL, string $password = NULL) : void {
if ($this->bindException) {
throw new ConnectionException('Failed connection');
}
}