/** * Set a cache item by key. Tags may also be added and a custom lifetime * can be set. Non-string data is automatically serialized. * * @param string $key * @param mixed $data * @param array $tags use NULL * @param integer $lifetime number of seconds until the cache expires * @return boolean */ public function set($key, $data, $tags = NULL, $lifetime = NULL) { Cache::$queries['sets'][] = $key; return parent::set($key, $data, $tags, $lifetime); }