Prado\Caching\ICache::set PHP Method

set() public method

If the cache already contains such a key, the existing value and expiration time will be replaced with the new ones.
public set ( $id, $value, $expire, $dependency = null ) : boolean
return boolean true if the value is successfully stored into cache, false otherwise
    public function set($id, $value, $expire = 0, $dependency = null);