/**
* @throws PluginNotFoundException
*/
public function copyAssetsFromBundle(string
$bundleName, bool
$force = false
): void
{ $bundle =
$this->
getBundle($bundleName);
$this->
copyAssets($bundle,
$force);
if ($bundle instanceof Plugin
) { foreach ($this->
getAdditionalBundles($bundle) as $bundle) { $this->
copyAssets($bundle,
$force);
} } } public function copyAssets(BundleInterface
$bundle, bool
$force = false
): void
{ $this->
copyAssetsFromBundleOrApp( $bundle->
getPath() . '/Resources/public',
$bundle->
getName(),
$force );