public function invalidate($key) { assert(is_string($key) || is_int($key)); $this->stash->getItem((string) $key)->clear(); }