class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\Inspection\InspectionAccess
Document-scoped identities, bounded reference queue and non-throwing inspection access.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Reading\ReadDocument $document, PDF\Reading\Inspection\InspectionBudget $budget)

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

Declared methods

decodeText()

public function decodeText(PDF\Syntax\Object\StringType $value): ?string

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

dictionary()

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

identity()

public function identity(PDF\Syntax\FileStructure\BasicType $value): string

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

items()

public function items(?PDF\Syntax\FileStructure\BasicType $value): array
@return list<BasicType>

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

missing()

public function missing(PDF\Reading\ObjectReference $reference): bool

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

name()

public function name(?PDF\Syntax\FileStructure\BasicType $value): ?string

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

queue()

public function queue(PDF\Reading\ObjectReference $reference): bool

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

queued()

public function queued(int $index): ?PDF\Reading\ObjectReference

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

reference()

public function reference(?PDF\Syntax\FileStructure\BasicType $value): ?array
@return array{number: string, generation: int}|null

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

resolved()

public function resolved(?PDF\Syntax\FileStructure\BasicType $value, ?string $nodeId = null): ?PDF\Syntax\FileStructure\BasicType

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

text()

public function text(?PDF\Syntax\FileStructure\BasicType $value): ?string

Declared by PDF\Reading\Inspection\InspectionAccess · View the code ↗

Properties