private function prepareLoader(EnumeratingClassLoader $enumLoader, AutoloadValidator $autoloadValidator)
    {
        $loaders = $autoloadValidator->getLoaders();
        foreach ($loaders as $name => $loader) {
            $enumLoader->add($loader, $name);
        }
    }