/var/www/vhosts/nabawater/vendor/setasign/fpdi/src/PdfParser/CrossReference
NameSizeModeActions
AbstractReader.php25530644editdlrm
CrossReference.php100370644editdlrm
CrossReferenceException.php13300644editdlrm
FixedReader.php58120644editdlrm
LineReader.php50350644editdlrm
ReaderInterface.php8190644editdlrm
Edit: /var/www/vhosts/nabawater/vendor/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php (2553B)
parser = $parser; $this->readTrailer(); } /** * Get the trailer dictionary. * * @return PdfDictionary */ public function getTrailer() { return $this->trailer; } /** * Read the trailer dictionary. * * @throws CrossReferenceException * @throws PdfTypeException */ protected function readTrailer() { try { $trailerKeyword = $this->parser->readValue(null, PdfToken::class); if ($trailerKeyword->value !== 'trailer') { throw new CrossReferenceException( \sprintf( 'Unexpected end of cross reference. "trailer"-keyword expected, got: %s.', $trailerKeyword->value ), CrossReferenceException::UNEXPECTED_END ); } } catch (PdfTypeException $e) { throw new CrossReferenceException( 'Unexpected end of cross reference. "trailer"-keyword expected, got an invalid object type.', CrossReferenceException::UNEXPECTED_END, $e ); } try { $trailer = $this->parser->readValue(null, PdfDictionary::class); } catch (PdfTypeException $e) { throw new CrossReferenceException( 'Unexpected end of cross reference. Trailer not found.', CrossReferenceException::UNEXPECTED_END, $e ); } $this->trailer = $trailer; } }