public function invalidateCache($source, $context)
    {
        $key = $this->getSpecificSourceCacheKey(
            $source,
            $context
        );

        $this
            ->cache
            ->delete($this->getSpecificSourceCacheKey(
                $source,
                $context
            ));

        unset($this->commentTree[$key]);

        return $this;
    }
public function invalidateCache($source, $context)
    {
        $key = $this->getSpecificSourceCacheKey(
            $source,
            $context
        );

        $this
            ->cache
            ->delete($this->getSpecificSourceCacheKey(
                $source,
                $context
            ));

        unset($this->commentTree[$key]);

        return $this;
    }
public function invalidateCache ( $ source , $ context ) { $ key = $ this -> getSpecificSourceCacheKey ( $ source , $ context ) ; $ this -> cache -> delete ( $ this -> getSpecificSourceCacheKey ( $ source , $ context ) ) ; unset ( $ this -> commentTree [ $ key ] ) ; return $ this ; }
Invalidates cache from source.

@param string $source  Source of comments
@param string $context Context of comment

@return $this Self object
Invalidates cache from source .