private function makeLoaders($options, $default_loaders)
    {
        $loaders = $this->preParseLoaders($options, $default_loaders);
        $parsed_loaders = array();

        foreach ($loaders as $loader) {
            if ($loader === 'default') {
                $parsed_loaders = array_merge($parsed_loaders, $default_loaders);
            } else {
                $parsed_loaders[] = $loader;
            }
        }

        $parsed_loaders = array_unique($parsed_loaders);

        $this->loaders = $this->makeNameSpaceLoaders($parsed_loaders, $default_loaders);
        $this->extensions = $this->makeExtensions($this->loaders);
    }
private function makeLoaders($options, $default_loaders)
    {
        $loaders = $this->preParseLoaders($options, $default_loaders);
        $parsed_loaders = array();

        foreach ($loaders as $loader) {
            if ($loader === 'default') {
                $parsed_loaders = array_merge($parsed_loaders, $default_loaders);
            } else {
                $parsed_loaders[] = $loader;
            }
        }

        $parsed_loaders = array_unique($parsed_loaders);

        $this->loaders = $this->makeNameSpaceLoaders($parsed_loaders, $default_loaders);
        $this->extensions = $this->makeExtensions($this->loaders);
    }
private function makeLoaders ( $ options , $ default_loaders ) { $ loaders = $ this -> preParseLoaders ( $ options , $ default_loaders ) ; $ parsed_loaders = array ( ) ; foreach ( $ loaders as $ loader ) { if ( $ loader === 'default' ) { $ parsed_loaders = array_merge ( $ parsed_loaders , $ default_loaders ) ; } else { $ parsed_loaders [ ] = $ loader ; } } $ parsed_loaders = array_unique ( $ parsed_loaders ) ; $ this -> loaders = $ this -> makeNameSpaceLoaders ( $ parsed_loaders , $ default_loaders ) ; $ this -> extensions = $ this -> makeExtensions ( $ this -> loaders ) ; }
Get loaders and make extensions for the loaders

@param array|null $options           The options being used for Vars
@param array      $default_loaders   The default loaders for Vars
Get loaders and make extensions for the loaders