protected function setCurrentOffset($offset = 0) { $this->currentOffset = (int) $offset; return $this; }