LzfDriver
extends BaseDriver
in package
The lzf driver uses the lzf PECL module for compression.
Tags
Table of Contents
- compress() : string
- Compresses a string.
- decompress() : string
- Decompresses a string.
- supported() : bool
- Is this driver supported on this system?
Methods
compress()
Compresses a string.
public
compress(string $text) : string
Parameters
- $text : string
-
The string to compress.
Tags
Return values
string —The compressed string.
decompress()
Decompresses a string.
public
decompress(string $text) : string
Parameters
- $text : string
-
The compressed string.
Return values
string —The decompressed string.
supported()
Is this driver supported on this system?
public
static supported() : bool
Tags
Return values
bool —True if supported.