original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: Copy configs from old version.
  
  @param Downloaded $event
docstring_tokens: Copy configs from old version .