Yac::get
(PECL yac >= 1.0.0)
Yac::get — 캐시에서 값 검색
설명
public Yac::get(string|array $key
, int &$cas
= null
): mixed
캐시에서 값 검색
매개변수
key
- string key, 또는 여러 키의 배열.
cas
null
이 아니면 검색된 항목의 cas로 설정됩니다.
반환 값
bool, 성공 시 mixed, 실패 시 false
(PECL yac >= 1.0.0)
Yac::get — 캐시에서 값 검색
public Yac::get(string|array $key
, int &$cas
= null
): mixed
캐시에서 값 검색
key
cas
null
이 아니면 검색된 항목의 cas로 설정됩니다.bool, 성공 시 mixed, 실패 시 false