PHP 인터페이스 Flintstone\Cache\CacheInterface

파일 보기 프로젝트 열기: fire015/flintstone

공개 메소드들

메소드 설명
contains ( string $key ) : boolean Check if a key exists in the cache.
delete ( string $key ) Delete a key from the cache.
flush ( ) Flush the cache.
get ( string $key ) : mixed Get a key from the cache.
set ( string $key, mixed $data ) Set a key in the cache.

메소드 상세

contains() 공개 메소드

Check if a key exists in the cache.
public contains ( string $key ) : boolean
$key string
리턴 boolean

delete() 공개 메소드

Delete a key from the cache.
public delete ( string $key )
$key string

flush() 공개 메소드

Flush the cache.
public flush ( )

get() 공개 메소드

Get a key from the cache.
public get ( string $key ) : mixed
$key string
리턴 mixed

set() 공개 메소드

Set a key in the cache.
public set ( string $key, mixed $data )
$key string
$data mixed