src/Connections/Ldap.php
public function getEntries($searchResults)
    {
        if ($this->suppressErrors) {
            return @ldap_get_entries($this->getConnection(), $searchResults);
        } else {
            return ldap_get_entries($this->getConnection(), $searchResults);
        }
    }
public function getEntries($searchResults)
    {
        if ($this->suppressErrors) {
            return @ldap_get_entries($this->getConnection(), $searchResults);
        } else {
            return ldap_get_entries($this->getConnection(), $searchResults);
        }
    }
public function getEntries ( $ searchResults ) { if ( $ this -> suppressErrors ) { return @ ldap_get_entries ( $ this -> getConnection ( ) , $ searchResults ) ; } else { return ldap_get_entries ( $ this -> getConnection ( ) , $ searchResults ) ; } }
Retrieves and returns the results of an
LDAP search into an array format.

@param $searchResults

@return array
Retrieves and returns the results of an LDAP search into an array format .