CacheInterface is DALMP interface to be use with the DALMP\Cache class.
The common methods are:
|Delete($key)||Delete item from the server.|
|Flush()||Flush all existing items at the server.|
|Get($key)||Retrieve item from the server.|
|Set($key, $value, $ttl = 0)||Store data at the server.|
|Stats()||Get statistics of the server.|
|X()||Return the cache object.|
All the cache backends must implement this interface in order to properly work with DALMP.
Thanks Navicat for supporting Open Source projects.
A great amount of time has been spent creating, crafting and maintaining this software, please consider donating.
Donating helps ensure continued support, development and availability.
comments powered by Disqus