| 1 | <?php  | 
            ||
| 9 | class DatabaseSeedCommand extends Command  | 
            ||
| 10 | { | 
            ||
| 11 | use DatabaseCommandTrait;  | 
            ||
| 12 | use ConfirmableTrait;  | 
            ||
| 13 | |||
| 14 | /**  | 
            ||
| 15 | * The name and signature of the console command.  | 
            ||
| 16 | *  | 
            ||
| 17 | * @var string  | 
            ||
| 18 | */  | 
            ||
| 19 | protected $signature = 'database:seed  | 
            ||
| 20 |         {name? : the name of seed.} | 
            ||
| 21 |         {--force : Force the operation to run when in production.} | 
            ||
| 22 | ';  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * The console command description.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @var string  | 
            ||
| 28 | */  | 
            ||
| 29 | protected $description = 'Insert seed to database';  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Execute the console command.  | 
            ||
| 33 | *  | 
            ||
| 34 | * @param \Jumilla\Versionia\Laravel\Migrator $migrator  | 
            ||
| 35 | *  | 
            ||
| 36 | * @return mixed  | 
            ||
| 37 | */  | 
            ||
| 38 | public function handle(Migrator $migrator)  | 
            ||
| 66 | }  | 
            ||
| 67 |