/** * Get the entire array of sections. * * @return array * @static */ public static function getSections() { return \Illuminate\View\Factory::getSections(); }
/** * Get the sections of the rendered view. * * @return array */ public function renderSections() { return $this->render(function () { return $this->factory->getSections(); }); }