src/Connections/Ldap.php
public function rename($dn, $newRdn, $newParent, $deleteOldRdn = false)
    {
        if ($this->suppressErrors) {
            return @ldap_rename($this->getConnection(), $dn, $newRdn, $newParent, $deleteOldRdn);
        }

        return ldap_rename($this->getConnection(), $dn, $newRdn, $newParent, $deleteOldRdn);
    }
public function rename($dn, $newRdn, $newParent, $deleteOldRdn = false)
    {
        if ($this->suppressErrors) {
            return @ldap_rename($this->getConnection(), $dn, $newRdn, $newParent, $deleteOldRdn);
        }

        return ldap_rename($this->getConnection(), $dn, $newRdn, $newParent, $deleteOldRdn);
    }
public function rename ( $ dn , $ newRdn , $ newParent , $ deleteOldRdn = false ) { if ( $ this -> suppressErrors ) { return @ ldap_rename ( $ this -> getConnection ( ) , $ dn , $ newRdn , $ newParent , $ deleteOldRdn ) ; } return ldap_rename ( $ this -> getConnection ( ) , $ dn , $ newRdn , $ newParent , $ deleteOldRdn ) ; }
Modify the name of an LDAP entry.

@param string $dn
@param string $newRdn
@param string $newParent
@param bool   $deleteOldRdn

@return bool
Modify the name of an LDAP entry .