ApcWrapper::put()

array|bool put(string $key, mixed $value, int $seconds) Store an item in the cache. Parameters string $key mixed $value int $seconds Return Value array|bool

ApcWrapper::__construct()

void __construct() Create a new APC wrapper instance. Return Value void

ApcWrapper::increment()

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

ApcWrapper

ApcWrapper class ApcWrapper (View source) Methods 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 th

ApcWrapper::delete()

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

ApcWrapper::get()

mixed get(string $key) Get an item from the cache. Parameters string $key Return Value mixed

ApcWrapper::decrement()

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

ApcWrapper::flush()

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

ApcStore::put()

void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void

ApcStore::__construct()

void __construct(ApcWrapper $apc, string $prefix = '') Create a new APC store. Parameters ApcWrapper $apc string $prefix Return Value void