Query

class Query extends AbstractQuery

Methods

__construct(ConnectionInterface $connection, string $dn, string $query, array $options = array())
__destruct()
CollectionInterface|Entry[] execute()

Executes a query and returns the list of Ldap entries.

resource getResource()

Returns a LDAP search resource.

Details

__construct(ConnectionInterface $connection, string $dn, string $query, array $options = array())

Parameters

ConnectionInterface $connection
string $dn
string $query
array $options

__destruct()

CollectionInterface|Entry[] execute()

Executes a query and returns the list of Ldap entries.

Return Value

CollectionInterface|Entry[]

Exceptions

NotBoundException
LdapException

resource getResource()

Returns a LDAP search resource.

Return Value

resource

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