src/BoomCMS/Chunk/BaseChunk.php
public function render()
    {
        try {
            $html = $this->html();

            if ($this->editable === true || Editor::isHistory()) {
                $html = $this->addAttributesToHtml($html);
            }

            return empty($html) ? $html : $this->before.$html.$this->after;
        } catch (\Exception $e) {
            if (App::environment() === 'local') {
                throw $e;
            }
        }
    }
public function render()
    {
        try {
            $html = $this->html();

            if ($this->editable === true || Editor::isHistory()) {
                $html = $this->addAttributesToHtml($html);
            }

            return empty($html) ? $html : $this->before.$html.$this->after;
        } catch (\Exception $e) {
            if (App::environment() === 'local') {
                throw $e;
            }
        }
    }
public function render ( ) { try { $ html = $ this -> html ( ) ; if ( $ this -> editable === true || Editor :: isHistory ( ) ) { $ html = $ this -> addAttributesToHtml ( $ html ) ; } return empty ( $ html ) ? $ html : $ this -> before . $ html . $ this -> after ; } catch ( \ Exception $ e ) { if ( App :: environment ( ) === 'local' ) { throw $ e ; } } }
Attempts to get the chunk data from the cache, otherwise calls _execute to generate the cache.
Attempts to get the chunk data from the cache otherwise calls _execute to generate the cache .