/** * Generate and return PDF * * Return the generated binary PDF content as a string. * * @return string */ public function save() { $this->document->saveToStream(); return $this->document->readFromStream($this->document->getStreamSize()); }
/** * Generate and return PDF * * Return the generated binary PDF content as a string. * * @return string */ public function save() { $this->renderInternalLinks(); $this->document->saveToStream(); return $this->document->readFromStream($this->document->getStreamSize()); }