public function onAppDownloadedMergeConfigs(Downloaded $event)
    {
        $files = [
            '/app/config/parameters.yml',
            '/app/config/vendor_config.yml',
            '/app/config/routing.yml',
            '/app/bundles.php',
        ];

        foreach ($files as $file) {
            if ($this->fs->exists($this->root_dir.$file)) {
                $this->fs->copy($this->root_dir.$file, $event->getPath().$file);
            }
        }
    }
public function onAppDownloadedMergeConfigs(Downloaded $event)
    {
        $files = [
            '/app/config/parameters.yml',
            '/app/config/vendor_config.yml',
            '/app/config/routing.yml',
            '/app/bundles.php',
        ];

        foreach ($files as $file) {
            if ($this->fs->exists($this->root_dir.$file)) {
                $this->fs->copy($this->root_dir.$file, $event->getPath().$file);
            }
        }
    }
public function onAppDownloadedMergeConfigs ( Downloaded $ event ) { $ files = [ '/app/config/parameters.yml' , '/app/config/vendor_config.yml' , '/app/config/routing.yml' , '/app/bundles.php' , ] ; foreach ( $ files as $ file ) { if ( $ this -> fs -> exists ( $ this -> root_dir . $ file ) ) { $ this -> fs -> copy ( $ this -> root_dir . $ file , $ event -> getPath ( ) . $ file ) ; } } }
Copy configs from old version.

@param Downloaded $event
Copy configs from old version .