throw new PluginNotFoundException($bundleName);
} return $bundle;
} /**
* @return array<BundleInterface>
*/
private function getAdditionalBundles(Plugin
$bundle): array
{ $params =
new AdditionalBundleParameters( $this->pluginLoader->
getClassLoader(),
$this->pluginLoader->
getPluginInstances(),
$this->parameterBag->
all() );
return $bundle->
getAdditionalBundles($params);
} /**
* @return array<string, array<string, string>>
*/