Query

class Query extends AbstractQuery

Methods

__construct(ConnectionInterface $connection, $dn, $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, $dn, $query, array $options = array())

Parameters

ConnectionInterface $connection
$dn
$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/3.2/Symfony/Component/Ldap/Adapter/ExtLdap/Query.html