src/Foundation/Fetcher.php
protected static function fetch($pattern, $app = true)
    {
        if ($app) {
            return glob(self::$appPath.$pattern.'/*.php');
        } else {
            return glob(self::$frameworkPath.$pattern.'/*.php');
        }
    }
protected static function fetch($pattern, $app = true)
    {
        if ($app) {
            return glob(self::$appPath.$pattern.'/*.php');
        } else {
            return glob(self::$frameworkPath.$pattern.'/*.php');
        }
    }
protected static function fetch ( $ pattern , $ app = true ) { if ( $ app ) { return glob ( self :: $ appPath . $ pattern . '/*.php' ) ; } else { return glob ( self :: $ frameworkPath . $ pattern . '/*.php' ) ; } }
Fetch files of folder.
Fetch files of folder .