/** * Writes the footer. * * @param int $xrefOffset */ private function writeFooter($xrefOffset) { $this->objectWriter->ensureBlankLine(); $this->objectWriter->writeRawLine('startxref'); $this->objectWriter->writeRawLine((string) $xrefOffset); $this->objectWriter->writeRawLine("%%%EOF"); }
public function testWriteRawLine() { $this->objectWriter->writeRawLine('foo'); $this->assertSame("foo\n", $this->getFileObjectData()); }
/** * @iterations 10000 */ public function writeRawLine() { $this->objectWriter->writeRawLine('foo'); }