Yac::__set

(PECL yac >= 1.0.0)

Yac::__setSetter

Description

public Yac::__set(string $keys, mixed $value): mixed

store a item into cache

Parameters

keys

string key

value

mixed value, All php value type could be stored except resource

Return Values

Always return the value self