ApcWrapper
class ApcWrapper (View source)
Methods
mixed
get(string $key)
Get an item from the cache.
array|bool
put(string $key, mixed $value, int $seconds)
Store an item in the cache.
int|bool
increment(string $key, mixed $value)
Increment the value of an item in the cache.
int|bool
decrement(string $key, mixed $value)
Decrement the value of an item in the cache.
bool
delete(string $key)
Remove an item from the cache.
bool
flush()
Remove all items from the cache.
Details
mixed
get(string $key)
Get an item from the cache.
array|bool
put(string $key, mixed $value, int $seconds)
Store an item in the cache.
int|bool
increment(string $key, mixed $value)
Increment the value of an item in the cache.
int|bool
decrement(string $key, mixed $value)
Decrement the value of an item in the cache.
bool
delete(string $key)
Remove an item from the cache.
bool
flush()
Remove all items from the cache.