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
101101
102102 // Do something with the results array
103103
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 ``
105105scope, which corresponds to the ``LDAP_SCOPE_SUBTREE `` scope of the
106106:phpfunction: `ldap_search ` function. You can also use ``SCOPE_BASE `` (related
107107to the ``LDAP_SCOPE_BASE `` scope of :phpfunction: `ldap_read `) and ``SCOPE_ONE ``
108108(related to the ``LDAP_SCOPE_ONELEVEL `` scope of :phpfunction: `ldap_list `)::
109109
110- use Symfony\Component\Ldap\Adapter;
110+ use Symfony\Component\Ldap\Adapter\QueryInterface ;
111111
112- $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => Adapter ::SCOPE_ONE]);
112+ $query = $ldap->query('dc=symfony,dc=com', '...', ['scope' => QueryInterface ::SCOPE_ONE]);
113113
114114Creating or Updating Entries
115115----------------------------
You can’t perform that action at this time.
0 commit comments