AdapterInterface

interface AdapterInterface

Methods

ConnectionInterface getConnection()

Returns the current connection.

QueryInterface createQuery(string $dn, string $query, array $options = array())

Creates a new Query.

EntryManagerInterface getEntryManager()

Fetches the entry manager instance.

string escape(string $subject, string $ignore = '', int $flags)

Escape a string for use in an LDAP filter or DN.

Details

ConnectionInterface getConnection()

Returns the current connection.

Return Value

ConnectionInterface

QueryInterface createQuery(string $dn, string $query, array $options = array())

Creates a new Query.

Parameters

string $dn
string $query
array $options

Return Value

QueryInterface

EntryManagerInterface getEntryManager()

Fetches the entry manager instance.

Return Value

EntryManagerInterface

string escape(string $subject, string $ignore = '', int $flags)

Escape a string for use in an LDAP filter or DN.

Parameters

string $subject
string $ignore
int $flags

Return Value

string

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