private function loadResourceFiles($filenames)
    {
        if (!is_array($filenames)) {
            $filenames = array($filenames);
        }

        foreach ($filenames as $glob) {
            $globs = glob(str_replace('[', '[[]', $glob));
            if ($globs) {
                foreach ($globs as $filename) {
                    require_once $filename;
                }
            }
        }
    }
private function loadResourceFiles($filenames)
    {
        if (!is_array($filenames)) {
            $filenames = array($filenames);
        }

        foreach ($filenames as $glob) {
            $globs = glob(str_replace('[', '[[]', $glob));
            if ($globs) {
                foreach ($globs as $filename) {
                    require_once $filename;
                }
            }
        }
    }
private function loadResourceFiles ( $ filenames ) { if ( ! is_array ( $ filenames ) ) { $ filenames = array ( $ filenames ) ; } foreach ( $ filenames as $ glob ) { $ globs = glob ( str_replace ( '[' , '[[]' , $ glob ) ) ; if ( $ globs ) { foreach ( $ globs as $ filename ) { require_once $ filename ; } } } }
Include PHP files containing resources in the given filename globs
@paramstr[] $filenames Array of filename globs
Include PHP files containing resources in the given filename globs