9f3ba05880
* Fix Contracts class names * Refactoring of the file seeds so it's not a mess * StyleCI fixes
25 lines
419 B
PHP
Executable File
25 lines
419 B
PHP
Executable File
<?php
|
|
|
|
use App\Services\Installer\SeederService;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
private $seederService;
|
|
|
|
public function __construct()
|
|
{
|
|
$this->seederService = app(SeederService::class);
|
|
}
|
|
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
public function run()
|
|
{
|
|
$this->seederService->syncAllSeeds();
|
|
}
|
|
}
|