class final Core · roukmoute/pdf 0.6.1
PDF\Syntax\DataStructure\NumberTreeA sorted number-tree leaf or branch (ISO 32000-1, 7.9.7).Inheritance and contracts
Parent : PDF\Syntax\Object\DictionaryType
Interfaces : Countable, IteratorAggregate, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
Construction
__construct()
public function __construct(PDF\Syntax\DataStructure\NumberTreeEntry|PDF\Syntax\DataStructure\NumberTreeChildren ...$entries)Declared methods
entries()
public function entries(): iterablefirstKey()
public function firstKey(): ?PDF\Syntax\Object\IntegerTypelastKey()
public function lastKey(): ?PDF\Syntax\Object\IntegerTypewith()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticInherited methods
6 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intget()
public function get(PDF\Syntax\Object\NameType|string $key): ?PDF\Syntax\FileStructure\BasicTypegetIterator()
public function getIterator(): Traversablehas()
public function has(PDF\Syntax\Object\NameType|string $key): booltoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): string