The APC cache backend.
This is a high performance caching backend that uses user cache functions that are part of the APC module.
There are no special options required to use this backend. It only requires that the APC PHP module be installed and operational.
protected int $weight = 1
public init(string $namespace): void
| Parameter | Type | Description |
|---|
$namespace | string | |
public has(string $key, bool $checkEmpty): bool
| Parameter | Type | Description |
|---|
$key | string | |
$checkEmpty | bool | |
public get(string $key): mixed
| Parameter | Type | Description |
|---|
$key | string | |
public set(string $key, mixed $value, int $timeout): bool
| Parameter | Type | Description |
|---|
$key | string | |
$value | mixed | |
$timeout | int | |
public remove(string $key): bool
| Parameter | Type | Description |
|---|
$key | string | |
private key(string $key): string
| Parameter | Type | Description |
|---|
$key | string | |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000