Yac::get

(PECL yac >= 1.0.0)

Yac::getRetrieve values from cache

說(shuō)明

public Yac::get(string|array $key, int &$cas = null): mixed

Retrieve values from cache

參數(shù)

key

string keys, or array of multiple keys.

cas

if not null, it will be set to the retrieved item's cas.

返回值

mixed on success, false on failure