platform/core/app/Supports/Helper.php
/**
     * Load all file from directory
     * @param string $path
     */
Load all file from directory
@param string $path
Load all file from directory @param string $path
public static function autoload(string $path)
    {
        $files = \File::glob($path . '/*.php');
        foreach ($files as $file) {
            \File::requireOnce($file);
        }
    }
public static function autoload ( string $ path ) { $ files = \ File :: glob ( $ path . '/*.php' ) ; foreach ( $ files as $ file ) { \ File :: requireOnce ( $ file ) ; } }
Load all file from directory
 @param string $path
Load all file from directory @param string $path