SetaPDF_Core_Writer_TempStream A writer class for temporary streams
File: /SetaPDF v2/Core/Writer/TempStream.php
Class hierarchy
Implements
Summary
Properties
$_handle
protected resource SetaPDF_Core_Writer_Stream::$_handle
The file stream resource
Methods
__construct()
public SetaPDF_Core_Writer_TempStream::__construct (
[ $memoryLimit = null [, $bufferSize = 10000 ]]
)The constructor.
Parameters
- $memoryLimit
Limit to use before writing to a temporary file. If null PHPs default (2 MB) is used.
- $bufferSize
The buffer size of which needs to be reached until the data is written to the stream.
getHandle()
Gets the handle of the stream.
This method is overwritten to ensure that the handle is only accessed when the writer instance has the status "finished".