EntryManager

class EntryManager implements EntryManagerInterface

Methods

__construct(Connection $connection)
add(Entry $entry)

Adds a new entry in the Ldap server.

update(Entry $entry)

Updates an entry from the Ldap server.

remove(Entry $entry)

Removes an entry from the Ldap server.

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

Renames an entry on the Ldap server.

Details

__construct(Connection $connection)

Parameters

Connection $connection

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

remove(Entry $entry)

Removes 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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Ldap/Adapter/ExtLdap/EntryManager.html