示例#1
0
 public function registerModule()
 {
     ModuleFacade::put($this->getIdentifier(), $this);
 }
 /**
  * Display a listing of the theme.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $modules = ModuleFacade::all();
     return view('admin.module.index')->with('modules', $modules);
 }