ApcWrapper (Cache)

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

void flush()

Remove all items from the cache.

Details

void __construct()

Create a new APC wrapper instance.

Return Value

void

mixed get( string $key)

Get an item from the cache.

Parameters

string $key

Return Value

mixed

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

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

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

bool delete( string $key)

Remove an item from the cache.

Parameters

string $key

Return Value

bool

void flush()

Remove all items from the cache.

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Cache/ApcWrapper.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部