Esempio n. 1
0
 public function forSlug($slug)
 {
     return $this->menu->newQuery()->where('slug', '=', $slug)->first();
     return $parent->children;
 }