PHP 인터페이스 Jarves\Cache\Backend\CacheInterface

파일 보기 프로젝트 열기: jarves/jarves 0 사용 예제들

공개 메소드들

메소드 설명
configure ( Cache $cacheConfig )
delete ( string $key ) Deletes data for a key.
get ( string $key ) : mixed Gets the data for a key.
set ( string $key, mixed $value, integer $timeout = null ) : boolean Sets data for a key with a timeout.

메소드 상세

configure() 공개 메소드

public configure ( Cache $cacheConfig )
$cacheConfig Jarves\Configuration\Cache

delete() 공개 메소드

Deletes data for a key.
public delete ( string $key )
$key string

get() 공개 메소드

Gets the data for a key.
public get ( string $key ) : mixed
$key string
리턴 mixed

set() 공개 메소드

Sets data for a key with a timeout.
public set ( string $key, mixed $value, integer $timeout = null ) : boolean
$key string
$value mixed
$timeout integer
리턴 boolean