public function end()
    {
        $content = ob_get_clean();
        switch ($this->type) {
            case 'append' :
                $this->data[$this->name] .= $content;
                break;

            case 'prepend' :
                $this->data[$this->name] = $content . $this->data[$this->name];
                break;

            case 'set' :
                $this->data[$this->name] = $content;
        }
        return '';
    }
public function end()
    {
        $content = ob_get_clean();
        switch ($this->type) {
            case 'append' :
                $this->data[$this->name] .= $content;
                break;

            case 'prepend' :
                $this->data[$this->name] = $content . $this->data[$this->name];
                break;

            case 'set' :
                $this->data[$this->name] = $content;
        }
        return '';
    }
public function end ( ) { $ content = ob_get_clean ( ) ; switch ( $ this -> type ) { case 'append' : $ this -> data [ $ this -> name ] .= $ content ; break ; case 'prepend' : $ this -> data [ $ this -> name ] = $ content . $ this -> data [ $ this -> name ] ; break ; case 'set' : $ this -> data [ $ this -> name ] = $ content ; } return '' ; }
Store current block content

@return string
Store current block content