| 1 | <?php |
||
| 21 | class LegacyLdapChoiceLoader |
||
| 22 | { |
||
| 23 | use LdapObjectChoiceTrait; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param LdapManager $ldap |
||
| 27 | * @param string $type The LDAP object type. |
||
| 28 | * @param string $labelAttribute The LDAP attribute to use for the label. |
||
| 29 | * @param string $id The attribute to use for the ID. |
||
| 30 | * @param LdapQueryBuilder|\Closure|null |
||
| 31 | */ |
||
| 32 | public function __construct(LdapManager $ldap, $type, $labelAttribute = 'name', $id = 'guid', $query = null) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return LdapObject[] |
||
| 43 | */ |
||
| 44 | public function load() |
||
| 48 | } |
||
| 49 |