| 1 | <?php  | 
            ||
| 8 | class SeederMakeCommand extends BaseCommand  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * The console command singature.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @var stringphp  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $signature = 'make:seeder  | 
            ||
| 16 |         {name : The name of the class} | 
            ||
| 17 | ';  | 
            ||
| 18 | |||
| 19 | /**  | 
            ||
| 20 | * The console command description.  | 
            ||
| 21 | *  | 
            ||
| 22 | * @var string  | 
            ||
| 23 | */  | 
            ||
| 24 | protected $description = 'Create a new seeder class';  | 
            ||
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * The type of class being generated.  | 
            ||
| 28 | *  | 
            ||
| 29 | * @var string  | 
            ||
| 30 | */  | 
            ||
| 31 | protected $type = 'Seeder';  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * The constructor.  | 
            ||
| 35 | */  | 
            ||
| 36 | 2 | public function __construct()  | 
            |
| 42 | |||
| 43 | /**  | 
            ||
| 44 | * Get the default namespace for the class.  | 
            ||
| 45 | *  | 
            ||
| 46 | * @return string  | 
            ||
| 47 | */  | 
            ||
| 48 | protected function getDefaultNamespace()  | 
            ||
| 52 | |||
| 53 | /**  | 
            ||
| 54 | * Get the stub file for the generator.  | 
            ||
| 55 | *  | 
            ||
| 56 | * @return string  | 
            ||
| 57 | */  | 
            ||
| 58 | protected function getStub()  | 
            ||
| 62 | |||
| 63 | /**  | 
            ||
| 64 | * Generate file.  | 
            ||
| 65 | *  | 
            ||
| 66 | * @param FileGenerator $generator  | 
            ||
| 67 | * @param string $path  | 
            ||
| 68 | * @param string $fqcn  | 
            ||
| 69 | *  | 
            ||
| 70 | * @return bool  | 
            ||
| 71 | */  | 
            ||
| 72 | protected function generateFile(FileGenerator $generator, $path, $fqcn)  | 
            ||
| 81 | }  | 
            ||
| 82 |