*/ class ExpiringCache implements CacheInterface { private $cache; private $lifetime; public function __construct(CacheInterface $cache, $lifetime) { $this->cache = $cache; $this->lifetime = $lifetime; } public function has($key) { if ($this->cache->has($key)) { if (time() < $this->cache->get($key.'.expires')) { return true; } $this->cache->remove($key.'.expires'); $this->cache->remove($key); } return false; } public function get($key) { return $this->cache->get($key); } public function set($key, $value) { $this->cache->set($key.'.expires', time() + $this->lifetime); $this->cache->set($key, $value); } public function remove($key) { $this->cache->remove($key.'.expires'); $this->cache->remove($key); } } __halt_compiler();----SIGNATURE:----z3j8M0hze1+5wkkz6FU019w+0MuQ5HPulZSHbVJYjt9RVWKyVQ32r/pNyB2a7BO3ASRSKonrdIs39LTpasl0Lvw+holX8p+vkxVwDFQOlMVNiItLGLdbxXxzZzT7vxrdDk3I1RAjAVTjQqfIGvvWG2j2RqesMNTtMsjWOl8KEsyt8b7YJv8yT3vWBA6691w2RLxYv37/WRCFBICwU9bLF7j6GE2rxZdH0vHwRNxMl0fWizynoiid0HjOkMJRWAJCVOCe9c5DVitrMGtwfqGcBNvXAPKfGVBP65zJvS8Q6OClZJ/IJDjwZbk9Zh20krMsHke+B8q2TFlWjRvZZi4D01l/wamI4Re36Cm2OM8/4wJQIRNJjmZApWyF2Ma07ad7UwB/x39ikw6nqLmihdsE93r1HXtiwwAvbP3kOkTjFXU5KfWPpVwvXBJcVuK8oYf+H+VD+D/d9SCx60E74OJWG1QRPSnK0tX0kymQ/KWlEHTXiacJpGecrXricsV4FxjVdMhGH5CT/QKinMxxmyCKIS+X+w1iAA1D7CE0xFt2NV8BBYSVPiuCYP5w31phupBa/cxrqd5OAH5WmDve3LFEGjB3TUCvQnYcqrEQ5E6FtMav55S6l/4M0imyBszP4dpSHtyRBEhYqabvnnG7WXpcBtfZSeupvw12kSPoVe4lZ8w=----ATTACHMENT:----NTA2OTU1NzIwMDExNzg4OCA0MDEzNjM1OTczNjQ2MTkzIDU1OTI0NTk2NTQ0NjIxODE=