public function delete(string $key) { $key = (string) $key; unset($this->data[$key], $this->expire[$key], $this->ttl[$key]); }