src/Loader/LoaderProvider.php
private function preParseLoaders($options, $default_loaders)
    {
        $loaders = array();

        if (is_array($options['loaders']) && !empty($options['loaders'])) {
            $loaders = $options['loaders'];
        } elseif (is_string($options['loaders'])) {
            $loaders[] = $options['loaders'];
        } else {
            $loaders = $default_loaders;
        }

        return $loaders;
    }
private function preParseLoaders($options, $default_loaders)
    {
        $loaders = array();

        if (is_array($options['loaders']) && !empty($options['loaders'])) {
            $loaders = $options['loaders'];
        } elseif (is_string($options['loaders'])) {
            $loaders[] = $options['loaders'];
        } else {
            $loaders = $default_loaders;
        }

        return $loaders;
    }
Pre parse the loaders for use in make loaders

@param array|null $options           The options being used for Vars
@param array      $default_loaders   The default loaders for Vars

@return array The pre parsed loaders