BaseDriver
in package
implements
CompressFastDriver
Abstract base driver class for fast compression.
Tags
Interfaces, Classes and Traits
- CompressFastDriver
- Abstract base driver class for fast compression.
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
abstract compress(string $text) : string
Parameters
- $text : string
-
The string to compress.
Tags
Return values
string —The compressed string.
decompress()
Decompresses a string.
public
abstract 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
Return values
bool —True if supported.