Ow, in the case of associative array, its possible to:

```php
if  (count($this->items)) {
    $last = end($this->items);
    reset($this->items);
}
return $last;
```