◆ __construct()
◆ changePrefix()
changePrefix |
( |
|
$sourcePrefix, |
|
|
|
$targetPrefix |
|
) |
| |
Changes the prefix for all entries given a key prefix.
- Parameters
-
string | $sourcePrefix | |
string | $targetPrefix | |
- Returns
- bool
true
if successful
◆ copy()
copy |
( |
|
$sourceKey, |
|
|
|
$targetKey |
|
) |
| |
Copies the value for a given key to another key.
- Parameters
-
string | $sourceKey | |
string | $targetKey | |
- Returns
- bool
true
if successful
◆ delete()
Deletes the value under a given key from cache.
- Returns
- bool
true
if successful
◆ deleteByPrefix()
deleteByPrefix |
( |
|
$keyPrefix | ) |
|
Deletes all cache entries with a given key prefix.
- Parameters
-
- Returns
- bool
true
if successful
◆ get()
Returns the value for a given key from cache.
- Parameters
-
- Returns
- mixed
◆ move()
move |
( |
|
$sourceKey, |
|
|
|
$targetKey |
|
) |
| |
Moves the value for a given key to another key.
- Parameters
-
string | $sourceKey | |
string | $targetKey | |
- Returns
- bool
true
if successful
◆ set()
Sets the value in cache for a given key.
- Parameters
-
- Returns
- bool
true
if successful
The documentation for this class was generated from the following file: