protected function dumpReadmeFile()
    {
        $readmeContents = sprintf("%s\n%s\n\nA Symfony project created on %s.\n", $this->projectName, str_repeat('=', strlen($this->projectName)), date('F j, Y, g:i a'));
        try {
            $this->fs->dumpFile($this->projectDir.'/README.md', $readmeContents);
        } catch (\Exception $e) {
            // don't throw an exception in case the file could not be created,
            // because this is just an enhancement, not something mandatory
            // for the project
        }

        return $this;
    }
protected function dumpReadmeFile()
    {
        $readmeContents = sprintf("%s\n%s\n\nA Symfony project created on %s.\n", $this->projectName, str_repeat('=', strlen($this->projectName)), date('F j, Y, g:i a'));
        try {
            $this->fs->dumpFile($this->projectDir.'/README.md', $readmeContents);
        } catch (\Exception $e) {
            // don't throw an exception in case the file could not be created,
            // because this is just an enhancement, not something mandatory
            // for the project
        }

        return $this;
    }
protected function dumpReadmeFile ( ) { $ readmeContents = sprintf ( "%s\n%s\n\nA Symfony project created on %s.\n" , $ this -> projectName , str_repeat ( '=' , strlen ( $ this -> projectName ) ) , date ( 'F j, Y, g:i a' ) ) ; try { $ this -> fs -> dumpFile ( $ this -> projectDir . '/README.md' , $ readmeContents ) ; } catch ( \ Exception $ e ) { // don't throw an exception in case the file could not be created, // because this is just an enhancement, not something mandatory // for the project } return $ this ; }
Dump a basic README.md file.

@return $this
Dump a basic README . md file .