src/Connections/Ldap.php
public function modReplace($dn, array $entry)
    {
        if ($this->suppressErrors) {
            return @ldap_mod_replace($this->getConnection(), $dn, $entry);
        }

        return ldap_mod_replace($this->getConnection(), $dn, $entry);
    }
public function modReplace($dn, array $entry)
    {
        if ($this->suppressErrors) {
            return @ldap_mod_replace($this->getConnection(), $dn, $entry);
        }

        return ldap_mod_replace($this->getConnection(), $dn, $entry);
    }
public function modReplace ( $ dn , array $ entry ) { if ( $ this -> suppressErrors ) { return @ ldap_mod_replace ( $ this -> getConnection ( ) , $ dn , $ entry ) ; } return ldap_mod_replace ( $ this -> getConnection ( ) , $ dn , $ entry ) ; }
Replaces attribute values with new ones.

@param $dn
@param array $entry

@return bool
Replaces attribute values with new ones .