interface AdapterInterface

Methods

ConnectionInterface
getConnection()

Returns the current connection.

createQuery(string$dn,string$query,array$options =[])

Creates a new Query.

EntryManagerInterface
getEntryManager()

Fetches the entry manager instance.

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

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 =[])

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 =0)

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

Parameters

string $subject
string $ignore
int $flags

Return Value

string