class final Core · roukmoute/pdf 0.6.2

PDF\Syntax\DataStructure\NameTree
A sorted name-tree leaf or branch with indirect kids and computed limits.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\DictionaryType

Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable

Construction

__construct()

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

Declared methods

entries()

public function entries(): iterable

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

firstKey()

public function firstKey(): ?PDF\Syntax\Object\StringType

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

lastKey()

public function lastKey(): ?PDF\Syntax\Object\StringType

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

with()

public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): static

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

without()

public function without(PDF\Syntax\Object\NameType|string $key): static

Declared by PDF\Syntax\DataStructure\NameTree · View the code ↗

Inherited methods

6 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

count()

public function count(): int

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

get()

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

getIterator()

public function getIterator(): Traversable

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

has()

public function has(PDF\Syntax\Object\NameType|string $key): bool

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\DictionaryType · View the code ↗