setasign\SetaPDF2\Core\Document\ObjectCollector

Tree Class for collecting objects from the tree data structures

File: /SetaPDF v2/Core/Document/ObjectCollector/Tree.php
Old class name (alias): \SetaPDF_Core_Document_ObjectCollector_Tree

Class hierarchy

Summary

Properties


Methods

__construct()

collect()

public Tree::collect (
callable $addObjectCallback
): void

Collect all indirect objects/references for non-stream objects of a tree data structure.

Parameters
$addObjectCallback : callable
 
Exceptions

Throws \setasign\SetaPDF2\Core\Document\ObjectNotFoundException

Throws \setasign\SetaPDF2\Core\Exception

Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException

Throws \setasign\SetaPDF2\Core\Reader\Exception

Throws \setasign\SetaPDF2\Core\Type\Exception

Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception

Throws \setasign\SetaPDF2\Exception

Throws \setasign\SetaPDF2\NotImplementedException