interface EntryManagerInterface

Entry manager interface.

Methods

add(Entry $entry)

Adds a new entry in the Ldap server.

update(Entry $entry)

Updates an entry from the Ldap server.

rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)

Renames an entry on the Ldap server.

remove(Entry $entry)

Removes an entry from the Ldap server.

Details

add(Entry $entry)

Adds a new entry in the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException

update(Entry $entry)

Updates an entry from the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException

rename(Entry $entry, string $newRdn, bool $removeOldRdn = true)

Renames an entry on the Ldap server.

Parameters

Entry $entry
string $newRdn
bool $removeOldRdn

remove(Entry $entry)

Removes an entry from the Ldap server.

Parameters

Entry $entry

Exceptions

NotBoundException
LdapException