$path) { $loader->add($namespace, $path); } $classMap = require $composerDir . '/autoload_classmap.php'; if ($classMap) { $loader->addClassMap($classMap); } $loader->register(); require $vendorDir . '/a/a/test.php'; require $vendorDir . '/b/b/test2.php'; return $loader; } }