/**
* @param array<string, string> $bundleMap
*/
public static function create(array
$bundleMap, Package
$package, VersionStrategyInterface
$versionStrategy, mixed ...
$args): Packages
{ $packages =
new Packages(...
$args);
foreach ($bundleMap as $bundleName =>
$bundlePath) { $path =
$package->
getUrl('/bundles/' .
mb_strtolower($bundleName));
$packages->
addPackage( '@' .
$bundleName,
new UrlPackage($path,
new PrefixVersionStrategy('/bundles/' .
mb_strtolower($bundleName),
$versionStrategy)) );
} return $packages;
}}