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

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

        if (! isset($this->prepends[$section][$this->renderCount])) {
            $this->prepends[$section][$this->renderCount] = $content;
        } else {
            $this->prepends[$section][$this->renderCount] = $content.$this->prepends[$section][$this->renderCount];
        }
    }
protected function extendPrepend ( $ section , $ content ) { if ( ! isset ( $ this -> prepends [ $ section ] ) ) { $ this -> prepends [ $ section ] = [ ] ; } if ( ! isset ( $ this -> prepends [ $ section ] [ $ this -> renderCount ] ) ) { $ this -> prepends [ $ section ] [ $ this -> renderCount ] = $ content ; } else { $ this -> prepends [ $ section ] [ $ this -> renderCount ] = $ content . $ this -> prepends [ $ section ] [ $ this -> renderCount ] ; } }
Prepend content to a given stack.

@param  string  $section
@param  string  $content
@return void
Prepend content to a given stack .