/** * Create a new migration install command instance. * * @param \Illuminate\Database\Migrations\MigrationCreator $creator * @param \Illuminate\Foundation\Composer $composer * @return void */ public function __construct(MigrationCreator $creator, $composer) { parent::__construct(); $this->creator = $creator; $this->composer = $composer; }
/** * Create a new migration command instance. * * @param \Illuminate\Database\Migrations\Migrator $migrator * @param string $packagePath * @return void */ public function __construct(Migrator $migrator, $packagePath) { parent::__construct(); $this->migrator = $migrator; $this->packagePath = $packagePath; }