Generator/AbstractGenerator.php
public function generate(): void
    {
        $this->filesystem->mkdir($this->getDirectories());

        foreach ($this->getFiles() as $filePath => $fileContent) {
            $this->filesystem->dumpFile($filePath, $fileContent);
        }

        $this->filesystem->remove($this->clean());
    }
public function generate(): void
    {
        $this->filesystem->mkdir($this->getDirectories());

        foreach ($this->getFiles() as $filePath => $fileContent) {
            $this->filesystem->dumpFile($filePath, $fileContent);
        }

        $this->filesystem->remove($this->clean());
    }
public function generate ( ) : void { $ this -> filesystem -> mkdir ( $ this -> getDirectories ( ) ) ; foreach ( $ this -> getFiles ( ) as $ filePath => $ fileContent ) { $ this -> filesystem -> dumpFile ( $ filePath , $ fileContent ) ; } $ this -> filesystem -> remove ( $ this -> clean ( ) ) ; }
Generate the project.

@return void
Generate the project .