/** * Implements \Iterator * @return \mdref\Entry */ public function current() { return $this->repo->getEntry($this->repo->hasFile(current($this->iter))); }