public function save($key, ParsedExpression $expression) { $key = $this->getKey($key); $this->storage->set($key, $expression, $this->expire, true); }
/** * Store an item in the cache for a given number of minutes. * * @param string $key * @param mixed $value * @param int $seconds * @param bool $strict * * @throws CacheSetException * * @return bool */ public function set($key, $value, $seconds, $strict = true) { $this->storage->set($key, $value, $seconds, $strict); }