src/Gzero/Cms/Handlers/Block/CacheBlockTrait.php
protected function getFromCache(Block $block, Language $language)
    {
        if ($block->is_cacheable) {
            return cache()->tags(['blocks'])->get('blocks:cache:' . $block->id . ':' . $language->code, null);
        }
        return null;
    }
protected function getFromCache(Block $block, Language $language)
    {
        if ($block->is_cacheable) {
            return cache()->tags(['blocks'])->get('blocks:cache:' . $block->id . ':' . $language->code, null);
        }
        return null;
    }
protected function getFromCache ( Block $ block , Language $ language ) { if ( $ block -> is_cacheable ) { return cache ( ) -> tags ( [ 'blocks' ] ) -> get ( 'blocks:cache:' . $ block -> id . ':' . $ language -> code , null ) ; } return null ; }
Get rendered block from cache

@param Block    $block    Block
@param Language $language Language

@return string|null
Get rendered block from cache