src/BoomCMS/Chunk/Provider.php
public function saveToCache($type, $slotname, $version, ChunkModel $chunk = null)
    {
        $key = $this->getCacheKey($type, $slotname, $version);

        $this->cache->forever($key, $chunk);
    }
public function saveToCache($type, $slotname, $version, ChunkModel $chunk = null)
    {
        $key = $this->getCacheKey($type, $slotname, $version);

        $this->cache->forever($key, $chunk);
    }
public function saveToCache ( $ type , $ slotname , $ version , ChunkModel $ chunk = null ) { $ key = $ this -> getCacheKey ( $ type , $ slotname , $ version ) ; $ this -> cache -> forever ( $ key , $ chunk ) ; }
Save a chunk to the cache.

@param type            $type
@param type            $slotname
@param type            $version
@param null|ChunkModel $chunk
Save a chunk to the cache .