Zend\Filter\Compress\Bz2
Compression adapter for Bz2
Synopsis
class Bz2
extends AbstractCompressionAlgorithm
{
- // members
- protected array $options;
- // Inherited members from AbstractCompressionAlgorithm
- protected array $options;
- // methods
- public void __construct()
- public int getBlocksize()
- public self setBlocksize()
- public string getArchive()
- public self setArchive()
- public string compress()
- public string decompress()
- public string toString()
- // Inherited methods from AbstractCompressionAlgorithm
- public void __construct()
- public mixed getOptions()
- public self setOptions()
Hierarchy
Members
protected
- $options
—
array
Compression Options array( 'blocksize' => Blocksize to use from 0-9 'archive' => Archive to use ) - $options — array
Methods
public
- __construct() — Class constructor
- compress() — Compresses the given content
- decompress() — Decompresses the given content
- getArchive() — Returns the set archive
- getBlocksize() — Returns the set blocksize
- setArchive() — Sets the archive to use for de-/compression
- setBlocksize() — Sets a new blocksize
- toString() — Returns the adapter name
Inherited from Zend\Filter\Compress\AbstractCompressionAlgorithm
public
- getOptions() — Returns one or all set options
- setOptions() — Sets all or one option