ZlibDriver
extends BaseDriver
in package
Supports using the zlib extension 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.
Tags
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.