public function stop($name = null)
    {
        $section = $this->end($name);
        $section->stop();
        $this->events->fire('f.sections.content', $this->last, $section->content());
    }
public function stop($name = null)
    {
        $section = $this->end($name);
        $section->stop();
        $this->events->fire('f.sections.content', $this->last, $section->content());
    }
public function stop ( $ name = null ) { $ section = $ this -> end ( $ name ) ; $ section -> stop ( ) ; $ this -> events -> fire ( 'f.sections.content' , $ this -> last , $ section -> content ( ) ) ; }
Close a section without output the content.
Provide a name is optional, if provided function will check it is the current section.

@param string|void $name Section to close
Close a section without output the content . Provide a name is optional if provided function will check it is the current section .