LdapTools\Object\LdapObjectManager::persist PHP Метод

persist() публичный Метод

Updates an object in LDAP. It will only update attributes that actually changed on the object.
public persist ( LdapObject $ldapObject )
$ldapObject LdapObject
    public function persist(LdapObject $ldapObject)
    {
        if (empty($ldapObject->getBatchCollection()->toArray())) {
            return;
        }
        $this->dispatcher->dispatch(new LdapObjectEvent(Event::LDAP_OBJECT_BEFORE_MODIFY, $ldapObject));
        $this->validateObject($ldapObject);
        $this->executeBatchOperation($ldapObject);
        $this->dispatcher->dispatch(new LdapObjectEvent(Event::LDAP_OBJECT_AFTER_MODIFY, $ldapObject));
    }