public function FakeQuery::execute in Lightweight Directory Access Protocol (LDAP) 8.4
Executes a query and returns the list of Ldap entries.
Return value
\Symfony\Component\Ldap\Adapter\CollectionInterface|\Symfony\Component\Ldap\Entry[] Record.
Throws
\Symfony\Component\Ldap\Exception\NotBoundException
\Symfony\Component\Ldap\Exception\LdapException
File
- ldap_servers/
tests/ modules/ ldap_servers_dummy/ src/ FakeQuery.php, line 31
Class
- FakeQuery
- Simulate the query response.
Namespace
Drupal\ldap_servers_dummyCode
public function execute() {
return $this->result;
}