code: private function addFiles(string $webDir): void
      {
          /** @var SplFileInfo[] $finder */
          $finder = Finder::create()->files()->in(__DIR__.'/../Resources/skeleton/web');
  
          foreach ($finder as $file) {
              if ($this->isExistingOptionalFile($file, $webDir)) {
                  continue;
              }
  
              $this->fs->copy($file->getPathname(), $webDir.'/'.$file->getRelativePathname(), true);
              $this->io->writeln(sprintf('Added the <comment>web/%s</comment> file.', $file->getFilename()));
          }
      }
docs: Adds files from Resources/skeleton/web to the application's web directory.