LdapTools\LdapManager::restore PHP Метод

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

Restore a deleted LDAP object. Optionally specify where to restore it to (full DN of a container/OU).
public restore ( LdapObject $ldapObject, string | null $container = null )
$ldapObject LdapTools\Object\LdapObject
$container string | null The container/OU in DN format of where it should be restored to.
    public function restore(LdapObject $ldapObject, $container = null)
    {
        $this->getObjectManager()->restore($ldapObject, $container);
        return $this;
    }