class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\Inspection\StructureTreeInspector
Walk only structure /K edges, preserving malformed, repeated and cyclic branches.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

@param array<int, array{number: int, reference: array{number: string, generation: int}}> $pages

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

Declared methods

nodes()

public function nodes(): array
@return list<array<string, mixed>>

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

read()

public function read(PDF\Syntax\Object\DictionaryType $root): array
@return list<string>

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