| 1 | <?php |
||
| 9 | class SeedGeneratorCommand extends GeneratorCommand |
||
| 10 | { |
||
| 11 | protected $name = 'db-exporter:seeds'; |
||
| 12 | |||
| 13 | protected $description = 'Export your database table data to a seed class.'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var \Elimuswift\DbExporter\DbExportHandler |
||
| 17 | */ |
||
| 18 | protected $handler; |
||
| 19 | |||
| 20 | public function __construct(DbExportHandler $handler) |
||
| 26 | |||
| 27 | //end __construct() |
||
| 28 | |||
| 29 | public function fire() |
||
| 51 | |||
| 52 | //end fire() |
||
| 53 | |||
| 54 | private function getFilename() |
||
| 60 | |||
| 61 | //end getFilename() |
||
| 62 | }//end class |
||
| 63 |