protected function _closure($data, $name)
    {
        $isExpanded = $this->_isExpandedLevel();

        ?>
        <li class="jbchild">
            <div
                class="jbelement<?php echo count((array)$data) > 0 ? ' jbexpand' : ''; ?> <?= $isExpanded ? 'jbopened' : ''; ?>"
                <?php if (count((array)$data) > 0) { ?> onClick="jbdump.toggle(this);"<?php } ?>>
                <span class="jbname"><?php echo $name; ?></span> (<span class="jbtype jbtype-closure">Closure</span>)
                <span class="jbvalue"><?php echo get_class($data); ?></span>
            </div>
            <?php $this->_vars($this->_getFunction($data), $isExpanded); ?>
        </li>
    <?php
    }
protected function _closure($data, $name)
    {
        $isExpanded = $this->_isExpandedLevel();

        ?>
        <li class="jbchild">
            <div
                class="jbelement<?php echo count((array)$data) > 0 ? ' jbexpand' : ''; ?> <?= $isExpanded ? 'jbopened' : ''; ?>"
                <?php if (count((array)$data) > 0) { ?> onClick="jbdump.toggle(this);"<?php } ?>>
                <span class="jbname"><?php echo $name; ?></span> (<span class="jbtype jbtype-closure">Closure</span>)
                <span class="jbvalue"><?php echo get_class($data); ?></span>
            </div>
            <?php $this->_vars($this->_getFunction($data), $isExpanded); ?>
        </li>
    <?php
    }
protected function _closure ( $ data , $ name ) { $ isExpanded = $ this -> _isExpandedLevel ( ) ; ?>
        <li class="jbchild">
            <div
                class="jbelement<?php echo count ( ( array ) $ data ) > 0 ? ' jbexpand' : '' ; ?> <?= $ isExpanded ? 'jbopened' : '' ; ?>"
                <?php if ( count ( ( array ) $ data ) > 0 ) { ?> onClick="jbdump.toggle(this);"<?php } ?>>
                <span class="jbname"><?php echo $ name ; ?></span> (<span class="jbtype jbtype-closure">Closure</span>)
                <span class="jbvalue"><?php echo get_class ( $ data ) ; ?></span>
            </div>
            <?php $ this -> _vars ( $ this -> _getFunction ( $ data ) , $ isExpanded ) ; ?>
        </li>
    <?php }
Render HTML for closure type
@param   object $data Variable
@param   string $name Variable name
@return  void
Render HTML for closure type