Sets a value in the cache.
string $key A unique key:
string $value The value to cache:
Overrides CacheInterface::set
public function set($key, $value) {
$this->cache
->set($key . '.expires', time() + $this->lifetime);
$this->cache
->set($key, $value);
}