*/ 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:----zieg4EHGwgUbmM0U6OMim7cleKskioAG4mgjZSBu3diOddecdu0FJWh6ASar5xJyzZB+V2I1hnIv8AO5vRK8tM+JrkOxYm67Pd9/UVJwCJw25NqP+0Whz4K/lXm2IiMxH1AjHULrxIAk66Wa5gwOZ+g8nuv5biBOwGEkP69IkqIDTo7GHYN5VoM31XrvHFkuDJmzlkh8O6CHrLxdYLoS3L8jtlQqNlwZlc9K70uJZLn4t8GWCyE+IkekfxEkpS1tlN9btoRnqlX4XGA9n3JQjEvg14rTO4ouHgtA+4r8TAJJOIeukiTD00i607mqulc4U0encmKTftgvTJCQc3qAyaSfvT72awf395UivErdeMgiHgJJ7p9LHL9o0X+HOe0ij8yLn1EyNQ4EHV52XiddJuHESov/rebGxHxwug4Vjf2bpEuv2vLPtE6EjpdjsygUGhLr93wz080Y5pvTaBQy8UOhVznIAhMqovgP+9qEnIPKshcSCKs+htl5bzskNdBCJ2aovGHJcMrJ8ZFuYxdcckYKAG4DofHf5QxLnrwMYVJt15Nn5Mkf/GAaxgIsP9cm/lDq6tDpn/6KzgZzhhaiJxufoe3PIE2mI6rBFfCobhnPZMMim/tVq0kn7jmrx6CqI8F09aKaNdyuDR2HZaBjqPSrPCkaQ+2g0hYXnSEdCI0=----ATTACHMENT:----ODYzMzIxMTg5NjYyNjg4NSAzNzU2ODM3NTYxMDU5NDA2IDcwNzU1NjU1MTg2OTY0OTQ=