| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class CreateMigrationCommand extends BaseDeployMigrationCommand |
||
| 10 | { |
||
| 11 | protected $signature = 'make:deploy-migration'; |
||
| 12 | |||
| 13 | protected $description = 'Create deploy migration'; |
||
| 14 | /** |
||
| 15 | * @var MigrationCreator |
||
| 16 | */ |
||
| 17 | private $creator; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * DeployMigrateCommand constructor. |
||
| 21 | * @param MigrationCreator $creator |
||
| 22 | */ |
||
| 23 | public function __construct(MigrationCreator $creator) |
||
| 24 | { |
||
| 25 | parent::__construct(); |
||
| 26 | $this->creator = $creator; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @throws \Exception |
||
| 31 | */ |
||
| 32 | public function handle() |
||
| 38 | } |
||
| 39 | } |