Horde_Compress
in package
This class provides an API for various compression techniques that can be used by Horde applications.
Tags
Table of Contents
- factory() : Horde_Compress_Base
- Attempts to return a concrete Horde_Compress_Base instance based on $driver.
Methods
factory()
Attempts to return a concrete Horde_Compress_Base instance based on $driver.
public
static factory(string $driver[, array<string|int, mixed> $params = null ]) : Horde_Compress_Base
Parameters
- $driver : string
-
Either a driver name, or the full class name to use (class must extend Horde_Compress_Base).
- $params : array<string|int, mixed> = null
-
Hash containing any additional configuration or parameters a subclass needs.
Tags
Return values
Horde_Compress_Base —The newly created concrete instance.