public static function compiles()
    {
        $files = [];

        foreach (modules()->repositories() as $repository) {
            foreach ($repository->all() as $module) {
                $serviceProvider = module_class($module['slug'], 'Providers\\ModuleServiceProvider', $repository->location);

                if (class_exists($serviceProvider)) {
                    $files = array_merge($files, forward_static_call([$serviceProvider, 'compiles']));
                }
            }
        }

        return array_map('realpath', $files);
    }
public static function compiles()
    {
        $files = [];

        foreach (modules()->repositories() as $repository) {
            foreach ($repository->all() as $module) {
                $serviceProvider = module_class($module['slug'], 'Providers\\ModuleServiceProvider', $repository->location);

                if (class_exists($serviceProvider)) {
                    $files = array_merge($files, forward_static_call([$serviceProvider, 'compiles']));
                }
            }
        }

        return array_map('realpath', $files);
    }
public static function compiles ( ) { $ files = [ ] ; foreach ( modules ( ) -> repositories ( ) as $ repository ) { foreach ( $ repository -> all ( ) as $ module ) { $ serviceProvider = module_class ( $ module [ 'slug' ] , 'Providers\\ModuleServiceProvider' , $ repository -> location ) ; if ( class_exists ( $ serviceProvider ) ) { $ files = array_merge ( $ files , forward_static_call ( [ $ serviceProvider , 'compiles' ] ) ) ; } } } return array_map ( 'realpath' , $ files ) ; }
Register compilable code.

@return array
Register compilable code .