|
static | add ($identifier, $blob, $minTTL=30) |
|
static | get ($identifier) |
|
static | exists ($identifier) |
|
static | remove ($identifier) |
|
static | cleanup () |
|
static add |
( |
|
$identifier, |
|
|
|
$blob, |
|
|
|
$minTTL = 30 |
|
) |
| |
|
static |
Adds something to the cache
- Parameters
-
string | $identifier | |
mixed | $blob | |
float | int | $minTTL | The data will remain cached for at least $minTTL seconds |
static exists |
( |
|
$identifier | ) |
|
|
static |
static get |
( |
|
$identifier | ) |
|
|
static |
Get something from the cache
- Parameters
-
- Returns
- bool|mixed Returns false if not found, otherwise it returns the data
static remove |
( |
|
$identifier | ) |
|
|
static |
The documentation for this class was generated from the following file:
- /Users/Kids/Desktop/Doxygen/pocketmine/utils/Cache.php