Compression adapter for Lzf

 Methods

Class constructor

__construct(null $options) 

Parameters

$options

null

Exceptions

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

Compresses the given content

compress(string $content) : string

Parameters

$content

string

Exceptions

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

Returns

string

Decompresses the given content

decompress(string $content) : string

Parameters

$content

string

Exceptions

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

Returns

string

Returns the adapter name

toString() : string

Returns

string