Documentation

ReferenceRewriter
in package

Pdf build import reference rewriter class

Recursively rewrites every indirect reference in a decoded Extract\Value tree through a per-source object-number renumbering map. Stream bytes are never touched - only a stream's own dictionary is walked.

Tags
category

Pop

author

Nick Sagona, III nick@popphp.org

copyright

Copyright (c) 2009-2026 Nick Sagona, III

license

https://www.popphp.org/license New BSD License

version
6.0.0

Table of Contents

Methods

rewrite()  : mixed
Rewrite every reference in a value through a renumbering map

Methods

rewrite()

Rewrite every reference in a value through a renumbering map

public static rewrite(mixed $value, array<string|int, mixed> $map) : mixed
Parameters
$value : mixed
$map : array<string|int, mixed>

        
On this page

Search results