public function last() { $last = $this->count() - 1; if (!$this->offsetExists($last)) { throw new NotFoundException("No last element exist"); } return $this->offsetGet($last); }