/** * Build the menu html. * * @access public * @return string */ public static function build() { $menuBuilder = new self(); $html = ''; $html .= '<ul class="sidebar-menu" id="side-menu">'; $html .= sprintf('<li><a href="%s"><i class="fa fa-dashboard fa-fw"></i> <span>%s</span></a></li>', route('crud.home'), trans('crud::views.dashboard.title')); $html .= $menuBuilder->buildMenu($menuBuilder->items); $html .= '</ul>'; return $html; }