protected function extendPush($section, $content)
    {
        if (! isset($this->pushes[$section])) {
            $this->pushes[$section] = [];
        }

        if (! isset($this->pushes[$section][$this->renderCount])) {
            $this->pushes[$section][$this->renderCount] = $content;
        } else {
            $this->pushes[$section][$this->renderCount] .= $content;
        }
    }
protected function extendPush($section, $content)
    {
        if (! isset($this->pushes[$section])) {
            $this->pushes[$section] = [];
        }

        if (! isset($this->pushes[$section][$this->renderCount])) {
            $this->pushes[$section][$this->renderCount] = $content;
        } else {
            $this->pushes[$section][$this->renderCount] .= $content;
        }
    }
protected function extendPush ( $ section , $ content ) { if ( ! isset ( $ this -> pushes [ $ section ] ) ) { $ this -> pushes [ $ section ] = [ ] ; } if ( ! isset ( $ this -> pushes [ $ section ] [ $ this -> renderCount ] ) ) { $ this -> pushes [ $ section ] [ $ this -> renderCount ] = $ content ; } else { $ this -> pushes [ $ section ] [ $ this -> renderCount ] .= $ content ; } }
Append content to a given push section.

@param  string  $section
@param  string  $content
@return void
Append content to a given push section .