private function saveCommentTreeIntoCache(array $commentTree, $source, $context)
    {
        $this
            ->cache
            ->save(
                $this->getSpecificSourceCacheKey($source, $context),
                $this->encoder->encode($commentTree)
            );

        return $this;
    }
private function saveCommentTreeIntoCache(array $commentTree, $source, $context)
    {
        $this
            ->cache
            ->save(
                $this->getSpecificSourceCacheKey($source, $context),
                $this->encoder->encode($commentTree)
            );

        return $this;
    }
private function saveCommentTreeIntoCache ( array $ commentTree , $ source , $ context ) { $ this -> cache -> save ( $ this -> getSpecificSourceCacheKey ( $ source , $ context ) , $ this -> encoder -> encode ( $ commentTree ) ) ; return $ this ; }
Save given comment tree into cache.

@param array  $commentTree Comment tree
@param string $source      Source of comments
@param string $context     Context of comment

@return $this Self object
Save given comment tree into cache .