Compression adapter for Lzf

package Default

 Methods

Class constructor

__construct(null $options = null

Parameters

$options

null

Exceptions

\Zend\Filter\Exception\ExtensionNotLoadedException if lzf extension missing

Compresses the given content

compress(string $content) : string
inherited_from \Zend\Filter\Compress\CompressionAlgorithmInterface::compress()

Parameters

$content

string

Exceptions

\Zend\Filter\Exception\RuntimeException if error occurs during compression

Returns

string

Decompresses the given content

decompress(string $content) : string
inherited_from \Zend\Filter\Compress\CompressionAlgorithmInterface::decompress()

Parameters

$content

string

Exceptions

\Zend\Filter\Exception\RuntimeException if error occurs during decompression

Returns

string

Returns the adapter name

toString() : string
inherited_from \Zend\Filter\Compress\CompressionAlgorithmInterface::toString()

Returns

string