W3cubDocs

/Symfony 4.1

EntryManagerInterface

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Ldap/Adapter/EntryManagerInterface.html