class final Optional · pdftoolkit/pdf-reader 0.8.1

PDF\Reading\Inspection\RoleMapInspector
Expose mapping declarations without replacing source roles or merging namespace identities.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

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

Declared methods

mappings()

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

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

namespace()

public function namespace(?PDF\Syntax\FileStructure\BasicType $source, int $depth = 1): ?array
@return array<string, mixed>|null

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

root()

public function root(PDF\Syntax\Object\DictionaryType $root): void

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