copyAssetsFromBundleOrApp example

$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
        );
    }

    /** * @decrecated tag:v6.6.0 - Will be removed without replacement */
    public function copyRecoveryAssets(): void
    {
        
Home | Imprint | This part of the site doesn't use cookies.