/**
  * @param $id
  * @return bool
  */
 public function hasChildItems($id)
 {
     $this->menu->hasChildItems($id);
 }
Exemple #2
0
 /**
  * @param $view
  */
 public function compose($view)
 {
     $items = $this->menu->all();
     $menus = $this->menu->getFrontMenuHTML($items);
     $view->with('menus', $menus);
 }