\Yurun\Swoole\SharedMemory\InterfacesIKV

Summary

Methods
Constants
set()
get()
remove()
exists()
clear()
count()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

set()

set(string  $name, mixed  $value) : boolean

写入值

Parameters

string $name
mixed $value

Returns

boolean

get()

get(string  $name, mixed  $default = null) : mixed

获取值

Parameters

string $name
mixed $default

Returns

mixed

remove()

remove(string  $name) : boolean

移除值

Parameters

string $name

Returns

boolean

exists()

exists(string  $name) : boolean

是否存在

Parameters

string $name

Returns

boolean

clear()

clear() : void

清除

count()

count() : \Yurun\Swoole\SharedMemory\Interfaces\iont

获取总的存储数据条数

Returns

\Yurun\Swoole\SharedMemory\Interfaces\iont