src/Connections/Ldap.php
public function read($dn, $filter, array $fields)
    {
        if ($this->suppressErrors) {
            return @ldap_read($this->getConnection(), $dn, $filter, $fields);
        }

        return ldap_read($this->getConnection(), $dn, $filter, $fields);
    }
public function read($dn, $filter, array $fields)
    {
        if ($this->suppressErrors) {
            return @ldap_read($this->getConnection(), $dn, $filter, $fields);
        }

        return ldap_read($this->getConnection(), $dn, $filter, $fields);
    }
public function read ( $ dn , $ filter , array $ fields ) { if ( $ this -> suppressErrors ) { return @ ldap_read ( $ this -> getConnection ( ) , $ dn , $ filter , $ fields ) ; } return ldap_read ( $ this -> getConnection ( ) , $ dn , $ filter , $ fields ) ; }
Reads an entry on the current LDAP connection.

@param $dn
@param $filter
@param array $fields

@return resource
Reads an entry on the current LDAP connection .