/** * Look at the value stored in the last item without removing from the list. */ public function peakBack() { if ($this->is_empty()) { return NULL; } else { return $this->last->getData(); } }