//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
// Get key (= seek position)
- $seekPosition = $this->getIteratorInstance()->key();
+ $seekPosition = $this->key();
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] Setting seekPosition=%s', __METHOD__, __LINE__, $seekPosition));
// And set it here
assert(is_callable(array($this, 'flushFileHeader')));
// Seek to beginning of file
- $this->getIteratorInstance()->rewind();
+ $this->rewind();
// And update seek position ...
$this->updateSeekPosition();
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] CALLED!', __METHOD__, __LINE__));
// Seek to currently ("old") saved position
- $this->getIteratorInstance()->seek($this->getSeekPosition());
+ $this->seek($this->getSeekPosition());
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] EXIT!!', __METHOD__, __LINE__));
}