| 1 | <?php |
||
| 7 | class MigrationsGeneratorCommand extends GeneratorCommand |
||
| 8 | { |
||
| 9 | protected $name = 'db-exporter:migrations'; |
||
| 10 | |||
| 11 | protected $description = 'Export your database to migrations.'; |
||
| 12 | /** |
||
| 13 | * @var \Elimuswift\DbExporter\DbExportHandler |
||
| 14 | */ |
||
| 15 | protected $handler; |
||
| 16 | |||
| 17 | public function __construct(DbExportHandler $handler) |
||
| 23 | |||
| 24 | //end __construct() |
||
| 25 | |||
| 26 | public function handle() |
||
| 43 | |||
| 44 | //end fire() |
||
| 45 | }//end class |
||
| 46 |