interface CacheInterface

cache 에서 제공되어야 할 기능을 정의 함

Methods

mixed
get(string $key)

getter

mixed
put(string $key, mixed $value, int $minutes = null)

setter

bool
has(string $key)

has

void
forget(string $key)

remove

Details

at line 37
mixed get(string $key)

getter

Parameters

string $key key name

Return Value

mixed

at line 47
mixed put(string $key, mixed $value, int $minutes = null)

setter

Parameters

string $key key name
mixed $value the value
int $minutes expire time

Return Value

mixed

at line 55
bool has(string $key)

has

Parameters

string $key key name

Return Value

bool

at line 63
void forget(string $key)

remove

Parameters

string $key key name

Return Value

void