public function put(string $key, $value, float $minutes) { $this->storage[$key] = $value; $this->ttl[$key] = $this->time() + 60 * $minutes; }