We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fdbe01 commit 4726493Copy full SHA for 4726493
components/ldap.rst
@@ -107,9 +107,9 @@ scope, which corresponds to the ``LDAP_SCOPE_SUBTREE`` scope of the
107
to the ``LDAP_SCOPE_BASE`` scope of :phpfunction:`ldap_read`) and ``SCOPE_ONE``
108
(related to the ``LDAP_SCOPE_ONELEVEL`` scope of :phpfunction:`ldap_list`)::
109
110
- use Symfony\Component\Ldap\Adapter;
+ use Symfony\Component\Ldap\Adapter\ExtLdap\Query;
111
112
- $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => Adapter::SCOPE_ONE]);
+ $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => Query::SCOPE_ONE]);
113
114
Creating or Updating Entries
115
----------------------------
0 commit comments