setasign\Fpdi\PdfParser\Type
PdfArray Class representing a PDF array object
File: /FPDI v2/PdfParser/Type/PdfArray.php
Class hierarchy
Summary
Properties
Static Methods
ensure()
Ensures that the passed array is a PdfArray instance with a (optional) specific size.
Parameters
- $array : mixed
- $size : null|int
Exceptions
Throws PdfTypeException
ensureType()
Ensure that a value is an instance of a specific PDF type.
Parameters
- $type : string
- $value : PdfType
- $errorMessage : string
Exceptions
Throws PdfTypeException
parse()
public static PdfArray::parse (
\setasign\Fpdi\PdfParser\Tokenizer $tokenizer, \setasign\Fpdi\PdfParser\PdfParser $parser
): bool|PdfArrayParses an array of the passed tokenizer and parser.
Parameters
- $tokenizer : \setasign\Fpdi\PdfParser\Tokenizer
- $parser : \setasign\Fpdi\PdfParser\PdfParser
Exceptions
Throws PdfTypeException
resolve()
Resolves a PdfType value to its value.
This method is used to evaluate indirect and direct object references until a final value is reached.
Parameters
- $value : PdfType
- $parser : \setasign\Fpdi\PdfParser\PdfParser
- $stopAtIndirectObject : bool
Exceptions
Throws \setasign\Fpdi\PdfParser\CrossReference\CrossReferenceException