Yac::__set

Setter

Description

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

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