SetaPDF_Core_Document_ObjectStreamCompressor Class for compressing objects in object-streams

File: /SetaPDF v2/Core/Document/ObjectStreamCompressor.php

Class hierarchy

Summary

Properties

$_gcCollectCyclesThreshold

Define how many streams should be created before gc_collect_cycles() is called if GC is disabled.

This property allows manual control about the garbage collection to gain performance.


Methods

__construct()

public SetaPDF_Core_Document_ObjectStreamCompressor::__construct (
SetaPDF_Core_Document $document [, int $objectsPerStream = 400 [, int $callGcCollectAfterStreamsCount = 5 ]]
)
Parameters
$document : SetaPDF_Core_Document
 
$objectsPerStream : int
 
$callGcCollectAfterStreamsCount : int
 

register()

Register this instance at the document instance.

Exceptions

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception