Yac::__set

(PECL yac >= 1.0.0)

Yac::__setStore into cache

Description

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

Add a item into cache, it the key is already exists, override it.

Parameters

keys

string key

value

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

Return Values

bool, true on success, false on failure