src/Loader/LoaderProvider.php
private function makeExtensions(array $loaders)
    {
        $extensions = array();

        foreach ($loaders as $loader) {
            $extensions = array_merge($extensions, $loader::$supported);
        }

        if (empty($extensions)) {
            throw new \RuntimeException('No loader extensions were found');
        }

        return $extensions;
    }
private function makeExtensions(array $loaders)
    {
        $extensions = array();

        foreach ($loaders as $loader) {
            $extensions = array_merge($extensions, $loader::$supported);
        }

        if (empty($extensions)) {
            throw new \RuntimeException('No loader extensions were found');
        }

        return $extensions;
    }
Get and make extensions for loaders made from makeLoaders()

@see \M1\Vars\Vars::makeLoaders() \M1\Vars\Vars::makeLoaders()

@param  array $loaders File loaders

@throws \RuntimeException If no loader extensions were found

@return array File loader supported extensions