+ public function read($ldapConnection, string $baseDn, string $filter, array $attributes = [])
+ {
+ return ldap_read($ldapConnection, $baseDn, $filter, $attributes);
+ }
+
+ /**
+ * Get entries from an LDAP search result.
+ *
+ * @param resource|\LDAP\Connection $ldapConnection
+ * @param resource|\LDAP\Result $ldapSearchResult
+ */
+ public function getEntries($ldapConnection, $ldapSearchResult): array|false