/** * Writes the annotated tag to IO * @param IOInterface $io The IO to write to * @internal */ public function write(IOInterface $io) { $io->addObject($this); $this->object->write($io); }
/** * Writes the reference and the object it refers to to disk * @param \gihp\IO\IOInterface $io */ public function write(IOInterface $io) { $io->addRef($this); $this->commit->write($io); }