public function forget($view, $key = null) { $cacheKey = $this->getCacheKeyForView($view, $key); if ($this->cacheIsTaggable) { $this->cache->tags($this->cacheKey)->forget($cacheKey); } $this->cache->forget($cacheKey); }