private function autoloadFiles($module)
    {
        if (isset($module['autoload'])) {
            foreach ($module['autoload'] as $file) {
                $path = module_path($module['slug'], $file);

                if (file_exists($path)) {
                    include $path;
                }
            }
        }
    }
private function autoloadFiles($module)
    {
        if (isset($module['autoload'])) {
            foreach ($module['autoload'] as $file) {
                $path = module_path($module['slug'], $file);

                if (file_exists($path)) {
                    include $path;
                }
            }
        }
    }
private function autoloadFiles ( $ module ) { if ( isset ( $ module [ 'autoload' ] ) ) { foreach ( $ module [ 'autoload' ] as $ file ) { $ path = module_path ( $ module [ 'slug' ] , $ file ) ; if ( file_exists ( $ path ) ) { include $ path ; } } } }
Autoload custom module files.

@param array $module

@return void
Autoload custom module files .