original_string: private function write()
  	{
  		$content = '';
  
  		foreach ($this->getFiles() as $file)
  		{
  			$content .= '$this->call(\'' . str_replace('.php', '', $file) . '\');';	
  		}
  		
  		$databaseSeeder = str_replace('{calls}', $content, $this->getPattern());
  
  		$this->getFilesystem()->put(app_path() . '/database/seeds/DatabaseSeeder.php', $databaseSeeder);
  	}
code: private function write()
  	{
  		$content = '';
  
  		foreach ($this->getFiles() as $file)
  		{
  			$content .= '$this->call(\'' . str_replace('.php', '', $file) . '\');';	
  		}
  		
  		$databaseSeeder = str_replace('{calls}', $content, $this->getPattern());
  
  		$this->getFilesystem()->put(app_path() . '/database/seeds/DatabaseSeeder.php', $databaseSeeder);
  	}
code_tokens: private function write ( ) { $ content = '' ; foreach ( $ this -> getFiles ( ) as $ file ) { $ content .= '$this->call(\'' . str_replace ( '.php' , '' , $ file ) . '\');' ; } $ databaseSeeder = str_replace ( '{calls}' , $ content , $ this -> getPattern ( ) ) ; $ this -> getFilesystem ( ) -> put ( app_path ( ) . '/database/seeds/DatabaseSeeder.php' , $ databaseSeeder ) ; }
docstring: Write the new DatabaseSeeder.php
docstring_tokens: Write the new DatabaseSeeder . php