Method | Description | |
---|---|---|
factory ( string $driver, array $params = null ) : Horde_Compress_Base | Attempts to return a concrete Horde_Compress_Base instance based on $driver. |
public static factory ( string $driver, array $params = null ) : Horde_Compress_Base | ||
$driver | string | Either a driver name, or the full class name to use (class must extend Horde_Compress_Base). |
$params | array | Hash containing any additional configuration or parameters a subclass needs. |
return | Horde_Compress_Base | The newly created concrete instance. |