\App\Http\ViewComposersSidebarMenuComposer

Summary

Methods
Properties
Constants
__construct()
compose()
getMenuList()
No public properties found
No constants found
No protected methods found
$model_menu
N/A
No private methods found
No private properties found
N/A

Properties

Methods

compose()

compose(\Illuminate\Contracts\View\View  $view) : void

绑定数据到视图.

Parameters

\Illuminate\Contracts\View\View $view

getMenuList()

getMenuList() : array

从缓存或者数据库中读取左侧菜单数据

Returns

array