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 the cache.

void
flush()

Remove all items from the cache.

Details

at line line 19
void __construct()

Create a new APC wrapper instance.

Return Value

void

at line line 30
mixed get( string $key)

Get an item from the cache.

Parameters

string $key

Return Value

mixed

at line line 43
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

at line line 55
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

at line line 67
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

at line line 78
bool delete( string $key)

Remove an item from the cache.

Parameters

string $key

Return Value

bool

at line line 88
void flush()

Remove all items from the cache.

Return Value

void