public function nth($n) { $array = array_values($this->data); return isset($array[$n]) ? $array[$n] : false; }