public function current() { if (($key = current($this->keys)) !== FALSE) { return $this->data[$key]; } else { return FALSE; } }
/** * @return HyperRow|FALSE */ public function current() { $result = $this->selection->current(); if ($result instanceof ActiveRow) { return $this->factory->createRow($result, $this->selection->getName()); } return $result; }