Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
9 | class SeederCommand extends Command |
||
10 | { |
||
11 | protected $seeds = [ |
||
12 | ModePostEmailSeeder::class, |
||
13 | StatusesSeeder::class |
||
14 | ]; |
||
15 | |||
16 | protected $seedersPath = __DIR__.'/../../database/seeds/'; |
||
17 | |||
18 | /** |
||
19 | * The name and signature of the console command. |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $signature = 'postman:seed'; |
||
24 | /** |
||
25 | * The console command description. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $description = 'Fill tables'; |
||
30 | |||
31 | /** |
||
32 | * Execute the console command. |
||
33 | * |
||
34 | * @return void |
||
35 | */ |
||
36 | 6 | public function handle() : void |
|
48 |