CrossPHP

RequestCacheInterface
in

Interface CacheInterface

Table of Contents

get()  : mixed
获取缓存内容
getConfig()  : mixed
获取缓存配置
isValid()  : bool
是否有效
set()  : void
写入缓存
setConfig()  : mixed
缓存配置

Methods

set()

写入缓存

public set(string $value) : void
Parameters
$value : string
Return values
void

setConfig()

缓存配置

public setConfig([array<string|int, mixed> $config = [] ]) : mixed
Parameters
$config : array<string|int, mixed> = []
Return values
mixed

Search results