You are here

public function FakeLdap::setQueryResult in Lightweight Directory Access Protocol (LDAP) 8.4

Set the query result.

Parameters

array $queryResult: Query result.

File

ldap_servers/tests/modules/ldap_servers_dummy/src/FakeLdap.php, line 94

Class

FakeLdap
Fake server to simulate querying with symfony/ldap.

Namespace

Drupal\ldap_servers_dummy

Code

public function setQueryResult(array $queryResult) : void {
  $this->queryResult = $queryResult;
}