*/ class NullCache extends StrictObject implements iPlugInCache { /** * @var \Mammut\Cache\iCache */ protected $cache; public function __construct() { $this->cache = new \Mammut\Cache\None(); } public function set($key, $value, $ttl) { $this->cache->set($key, $value, $ttl); } public function get($key, $default = NULL) { return $this->cache->get($key, $default); } public function delete($key) { $this->cache->delete($key); } public function keyExists($key) { return $this->cache->keyExists($key); } public function clear() { $this->cache->clear(); } public function getHits() { return $this->cache->getHits(); } }