예제 #1
0
 /**
  * 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");
 }
예제 #2
0
 public function testWriteRawLine()
 {
     $this->objectWriter->writeRawLine('foo');
     $this->assertSame("foo\n", $this->getFileObjectData());
 }
예제 #3
0
 /**
  * @iterations 10000
  */
 public function writeRawLine()
 {
     $this->objectWriter->writeRawLine('foo');
 }