public function invalidate($key) { assert(is_string($key) || is_int($key)); unset($this->values[$key]); }