Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 3 |
| Seed | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
| run | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 3 |
|||
| <?php namespace App\Commands; | |
| use App\Seeds\Seeder; | |
| use Framework\CLI\Command; | |
| class Seed extends Command | |
| { | |
| protected string $name = 'seed'; | |
| protected string $description = 'Seed database.'; | |
| protected string $usage = 'seed'; | |
| public function run(array $options = [], array $arguments = []) : void | |
| { | |
| (new Seeder(\App::database()))->run(); | |
| } | |
| } |