src/Chee/Module/CheeModule.php
public function start()
    {
        $modules = ModuleModel::where('module_status', 1)->get();
        foreach($modules as $module)
        {
            $path = $this->getModuleDirectory($module->module_name);
            if ($path)
            {
                $name = $module->module_name;
                $this->modules[$name] = new Module($this->app, $module->module_name, $path);
            }
        }
    }
public function start()
    {
        $modules = ModuleModel::where('module_status', 1)->get();
        foreach($modules as $module)
        {
            $path = $this->getModuleDirectory($module->module_name);
            if ($path)
            {
                $name = $module->module_name;
                $this->modules[$name] = new Module($this->app, $module->module_name, $path);
            }
        }
    }
public function start ( ) { $ modules = ModuleModel :: where ( 'module_status' , 1 ) -> get ( ) ; foreach ( $ modules as $ module ) { $ path = $ this -> getModuleDirectory ( $ module -> module_name ) ; if ( $ path ) { $ name = $ module -> module_name ; $ this -> modules [ $ name ] = new Module ( $ this -> app , $ module -> module_name , $ path ) ; } } }
Get all module from database and initialize

@return void
Get all module from database and initialize