PHP Interface Angejia\Pea\Cache

Afficher le fichier Open project: angejia/pea

Méthodes publiques

Méthode Description
del ( array $keys ) 清理缓存内容
get ( array $keys ) : array 批量查询缓存内容
set ( $keyValue ) 批量设置缓存内容

Method Details

del() public méthode

清理缓存内容
public del ( array $keys )
$keys array 缓存索引列表

get() public méthode

批量查询缓存内容
public get ( array $keys ) : array
$keys array 缓存索引列表
Résultat array 缓存内容键值对,例如 [ 'key1' => 'value1', 'key2' => 'value2', ]

set() public méthode

批量设置缓存内容
public set ( $keyValue )