/** * Checks if the current position is the end-of-file * * @return bool */ public function eof() { return $this->driver->endOfFile($this->resource); }