Description
null menu(string $route, array $menu)
Creates a sub menu for your section.
Parameters
$route
Route to your section.
$menu
Any associative array of menus. Keys hold the menu title and the values hold the URL route.
Examples
<?php route('/foo', function() { menu('/foo', [ 'Menu 1' => url('/foo/menu-1'), 'Menu 2' => url('/foo/menu-2'), 'Menu 3' => url('/foo/menu-3') ]); return view('index.html'); });