src/WelderLourenco/LaravelSeeder/LaravelSeeder.php
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);
	}
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);
	}
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 ) ; }
Write the new DatabaseSeeder.php
Write the new DatabaseSeeder . php