protected function renderCollapseButton($options = [], $collapsed = false)
    {
        $options = array_replace_recursive([
            'class' => 'btn btn-box-tool',
            'data-widget' => 'collapse',
        ], $options);

        return Html::button($collapsed ? FA::i('plus') : FA::i('minus'), $options);
    }
protected function renderCollapseButton($options = [], $collapsed = false)
    {
        $options = array_replace_recursive([
            'class' => 'btn btn-box-tool',
            'data-widget' => 'collapse',
        ], $options);

        return Html::button($collapsed ? FA::i('plus') : FA::i('minus'), $options);
    }
protected function renderCollapseButton ( $ options = [ ] , $ collapsed = false ) { $ options = array_replace_recursive ( [ 'class' => 'btn btn-box-tool' , 'data-widget' => 'collapse' , ] , $ options ) ; return Html :: button ( $ collapsed ? FA :: i ( 'plus' ) : FA :: i ( 'minus' ) , $ options ) ; }
Renders the collapse button

@param array $options
@param boolean $collapsed

@return string
Renders the collapse button