File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,15 @@ array, you may use the
101
101
102
102
// Do something with the results array
103
103
104
- By default, LDAP queries use the ``Symfony\Component\Ldap\Adapter::SCOPE_SUB ``
104
+ By default, LDAP queries use the ``Symfony\Component\Ldap\Adapter\QueryInterface ::SCOPE_SUB ``
105
105
scope, which corresponds to the ``LDAP_SCOPE_SUBTREE `` scope of the
106
106
:phpfunction: `ldap_search ` function. You can also use ``SCOPE_BASE `` (related
107
107
to the ``LDAP_SCOPE_BASE `` scope of :phpfunction: `ldap_read `) and ``SCOPE_ONE ``
108
108
(related to the ``LDAP_SCOPE_ONELEVEL `` scope of :phpfunction: `ldap_list `)::
109
109
110
- use Symfony\Component\Ldap\Adapter;
110
+ use Symfony\Component\Ldap\Adapter\QueryInterface ;
111
111
112
- $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => Adapter ::SCOPE_ONE]);
112
+ $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => QueryInterface ::SCOPE_ONE]);
113
113
114
114
Creating or Updating Entries
115
115
----------------------------
You can’t perform that action at this time.
0 commit comments