PHP 클래스 phprs\util\RedisCache

상속: implements phprs\util\KVCatchInterface
파일 보기 프로젝트 열기: caoym/phprs-restful

공개 메소드들

메소드 설명
del ( string $key ) : boolean 删除key
get ( string $key, boolean &$succeeded = null ) : mixed get key
set ( string $key, mixed $var, integer $ttl = null ) : boolean 设置key

비공개 메소드들

메소드 설명
getImpl ( )

메소드 상세

del() 공개 메소드

删除key
public del ( string $key ) : boolean
$key string
리턴 boolean

get() 공개 메소드

get key
public get ( string $key, boolean &$succeeded = null ) : mixed
$key string
$succeeded boolean
리턴 mixed

set() 공개 메소드

设置key
public set ( string $key, mixed $var, integer $ttl = null ) : boolean
$key string
$var mixed
$ttl integer
리턴 boolean