+ /**
+ * Read an entry from the LDAP tree.
+ *
+ * @param resource|\Ldap\Connection $ldapConnection
+ *
+ * @return \LDAP\Result|array|false
+ */
+ public function read($ldapConnection, string $baseDn, string $filter, array $attributes = [])
+ {
+ return ldap_read($ldapConnection, $baseDn, $filter, $attributes);
+ }
+