Spatie\PartialCache\PartialCache::forget PHP Метод

forget() публичный Метод

Forget a rendered view.
public forget ( string $view, string $key = null )
$view string
$key string
    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);
    }