-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor seed naming system * update changelog file
- Loading branch information
Showing
12 changed files
with
352 additions
and
315 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
namespace Lwwcas\LaravelCountries\Database\Seeders; | ||
|
||
use Illuminate\Database\Seeder; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\ArabicLanguageSeeder as Arabic; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\DutchLanguageSeeder as Dutch; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\FrenchLanguageSeeder as French; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\GermanLanguageSeeder as German; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\ItalianLanguageSeeder as Italian; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\PortugueseLanguageSeeder as Portuguese; | ||
use Lwwcas\LaravelCountries\Database\Seeders\Languages\SpanishLanguageSeeder as Spanish; | ||
|
||
class LanguagesSeeder extends Seeder | ||
{ | ||
/** | ||
* Seed the application's database. | ||
* | ||
* @return void | ||
*/ | ||
public function run() | ||
{ | ||
// Add all countries translations | ||
$this->call(Portuguese::class); | ||
$this->call(Spanish::class); | ||
$this->call(French::class); | ||
$this->call(Italian::class); | ||
$this->call(Arabic::class); | ||
$this->call(Dutch::class); | ||
$this->call(German::class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
src/database/seeders/ArSeeder.php → ...eeders/languages/ArabicLanguageSeeder.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.