| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 40 | public function handle() |
||
| 41 | { |
||
| 42 | parent::handle(); |
||
| 43 | |||
| 44 | if ($this->commandData->getOption('fromTable')) { |
||
| 45 | $this->error('fromTable option is not allowed to use with migration generator'); |
||
| 46 | |||
| 47 | return; |
||
| 48 | } |
||
| 49 | |||
| 50 | $migrationGenerator = new MigrationGenerator($this->commandData); |
||
| 51 | $migrationGenerator->generate(); |
||
| 52 | |||
| 53 | $this->performPostActionsWithMigration(); |
||
| 54 | } |
||
| 76 |