protected function make($slug, $arguments = [])
    {
        $menu = $this->container->make(Menu::class);
        $model = $this->container->make(MenuModel::class);

        $menu->setModel($model->make($slug, $arguments));

        return $this->hang($menu);
    }
protected function make($slug, $arguments = [])
    {
        $menu = $this->container->make(Menu::class);
        $model = $this->container->make(MenuModel::class);

        $menu->setModel($model->make($slug, $arguments));

        return $this->hang($menu);
    }
protected function make ( $ slug , $ arguments = [ ] ) { $ menu = $ this -> container -> make ( Menu :: class ) ; $ model = $ this -> container -> make ( MenuModel :: class ) ; $ menu -> setModel ( $ model -> make ( $ slug , $ arguments ) ) ; return $ this -> hang ( $ menu ) ; }
Make and hang menu.

@param  string $slug
@param  array  $arguments

@return \Assely\Menu\Menu
Make and hang menu .