/** * Create a new migration install command instance. * * @param \Speedwork\Database\Migration\Migrator $migrator */ public function __construct(Migrator $migrator) { parent::__construct(); $this->migrator = $migrator; }
/** * Create a new command instance. * * @param \Illuminate\Filesystem\Filesystem $files */ public function __construct(Filesystem $files) { parent::__construct(); $this->files = $files; }
/** * Create a new optimize command instance. * * @param \Speedwork\Console\Util\Composer $composer * @param \Speedwork\Filesystem\Filesystem $files */ public function __construct(Composer $composer, Filesystem $files) { parent::__construct(); $this->composer = $composer; $this->files = $files; }