/** * Unset an offset. * * @param mixed $offset */ public function offsetUnset($offset) { return $this->sequenceFile->deleteSequence($offset); }
/** * Clear the collection. * */ public function clear() { foreach ($this->sequenceFile->getSequenceIndex() as $indexEntry => $value) { $this->sequenceFile->deleteSequence($indexEntry); } }