ApcWrapper
class ApcWrapper (View source)
Properties
| protected bool | $apcu | Indicates if APCu is supported. |
Methods
Create a new APC wrapper instance.
Get an item from the cache.
Store an item in the cache.
Increment the value of an item in the cache.
Decrement the value of an item in the cache.
Remove an item from the cache.
Remove all items from the cache.
Details
void
__construct()
Create a new APC wrapper instance.
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.