key = $key; $this->value = $data['value']; $this->expiration = $data['ttd']; $this->hit = $data['hit']; } }