$path) { $loader->add($namespace, $path); } $classMap = require $dir.'/autoload_classmap.php'; if ($classMap) { $loader->addClassMap($classMap); } $loader->register(true); require $vendorDir . '/jakeasmith/http_build_url/src/http_build_url.php'; return $loader; } }