src/PartialCache.php
public function forget($view, $key = null, $tag = null)
    {
        $cacheKey = $this->getCacheKeyForView($view, $key);

        if ($this->cacheIsTaggable) {
            $tags = $this->getTags($tag);
            $this->cache->tags($tags)->forget($cacheKey);
        }

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

        if ($this->cacheIsTaggable) {
            $tags = $this->getTags($tag);
            $this->cache->tags($tags)->forget($cacheKey);
        }

        $this->cache->forget($cacheKey);
    }
public function forget ( $ view , $ key = null , $ tag = null ) { $ cacheKey = $ this -> getCacheKeyForView ( $ view , $ key ) ; if ( $ this -> cacheIsTaggable ) { $ tags = $ this -> getTags ( $ tag ) ; $ this -> cache -> tags ( $ tags ) -> forget ( $ cacheKey ) ; } $ this -> cache -> forget ( $ cacheKey ) ; }
Forget a rendered view.

@param string $view
@param string $key
@param null|string|array $tag
Forget a rendered view .