Extends
lithium\core\ObjectSource
public function next() {
if ($this->_current = $this->_next()) {
$this->_iterator++;
return $this->_current;
}
$this->_close();
$this->_resource = null;
}
public function next() {
if ($this->_current = $this->_next()) {
$this->_iterator++;
return $this->_current;
}
$this->_close();
$this->_resource = null;
}