1 | <?php namespace Wn\Generators\Commands; |
||
4 | class SeederCommand extends BaseCommand { |
||
5 | |||
6 | protected $signature = 'wn:seeder |
||
7 | {model : full qualified name of the model.} |
||
8 | {--count=10 : number of elements to add in database.} |
||
9 | {--force= : override the existing files} |
||
10 | '; |
||
11 | |||
12 | protected $description = 'Generates a seeder'; |
||
13 | |||
14 | public function handle() |
||
31 | |||
32 | protected function getSeederName($name) |
||
39 | |||
40 | } |
||
41 |