CID
CID
Cache storage in a MongoDB database.
set(string $key, mixed $data, integer $lifetime)
Store an object in the cache.
| string | $key | Object ID used as the caching key.  | 
                            
| mixed | $data | Data to store in the cache.  | 
                            
| integer | $lifetime | Object lifetime - i.e. the time before the data becomes available for garbage collection. If 0 will not be GC'd.  |