Query
class Query extends AbstractQuery
Properties
| protected Connection | $connection | ||
| protected | $dn | from AbstractQuery | |
| protected | $query | from AbstractQuery | |
| protected | $options | from 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.
https://api.symfony.com/4.1/Symfony/Component/Ldap/Adapter/ExtLdap/Query.html