NoZlib
Less than 1 minute
NoZlib
Exception thrown when zlib compression support is unavailable.
class NoZlib extends \Hazaar\Cache\Backend\Exception\ExceptionRaised when cache serialization or payload preparation requests compression for a key but the zlib extension is not loaded in the PHP runtime.
Methods
__construct
Initializes the exception with context about the key that could not be
public __construct(string $key): voidprocessed due to missing zlib support.
Parameters
| Parameter | Type | Description |
|---|---|---|
$key | string | the cache key being prepared when compression was requested |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000