LdapTools\Object\LdapObjectCollection::last PHP Method

last() public method

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