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