LdapTools\Object\LdapObjectCollection::first PHP Méthode

first() public méthode

Sets the collection array pointer to the first element and returns it.
public first ( ) : LdapObject | boolean
Résultat LdapObject | boolean
    public function first()
    {
        return reset($this->objects);
    }