Manager/ModuleManager.php
public function all()
    {
        $modules = new Collection($this->module->all());

        foreach ($modules as $module) {
            $module = $this->get($module);
        }

        return $modules;
    }
public function all()
    {
        $modules = new Collection($this->module->all());

        foreach ($modules as $module) {
            $module = $this->get($module);
        }

        return $modules;
    }
public function all ( ) { $ modules = new Collection ( $ this -> module -> all ( ) ) ; foreach ( $ modules as $ module ) { $ module = $ this -> get ( $ module ) ; } return $ modules ; }
Return all modules.

@return \Illuminate\Support\Collection
Return all modules .