MemcachedStore::increment()

int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

MemcachedStore::getPrefix()

string getPrefix() Get the cache key prefix. Return Value string

MemcachedStore::getMemcached()

Memcached getMemcached() Get the underlying Memcached connection. Return Value Memcached

MemcachedStore::get()

mixed get(string|array $key) Retrieve an item from the cache by key. Parameters string|array $key Return Value mixed

MemcachedStore::forget()

bool forget(string $key) Remove an item from the cache. Parameters string $key Return Value bool

MemcachedStore::forever()

void forever(string $key, mixed $value) Store an item in the cache indefinitely. Parameters string $key mixed $value Return Value void

MemcachedStore::flush()

void flush() Remove all items from the cache. Return Value void

MemcachedStore::decrement()

int|bool decrement(string $key, mixed $value = 1) Decrement the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

MemcachedStore::add()

bool add(string $key, mixed $value, float|int $minutes) Store an item in the cache if the key doesn't exist. Parameters string $key mixed $value float|int $minutes Return Value bool

MemcachedStore

MemcachedStore class MemcachedStore extends TaggableStore implements Store (View source) Methods TaggedCache tags(array|mixed $names) Begin executing a new tags operation. from TaggableStore void __construct(Memcached $memcached, string $prefix = '') Create a new Memcached store. mixed get(string|array $key) Retrieve an item from the cache by key. array many(array $keys) Retrieve multiple items from the cache by key. void put(string $key, mixed $value, float|int $minute