Example #1
0
 /**
  * Create a new migration install command instance.
  *
  * @param \Speedwork\Database\Migration\Migrator $migrator
  */
 public function __construct(Migrator $migrator)
 {
     parent::__construct();
     $this->migrator = $migrator;
 }
Example #2
0
 /**
  * Create a new command instance.
  *
  * @param \Illuminate\Filesystem\Filesystem $files
  */
 public function __construct(Filesystem $files)
 {
     parent::__construct();
     $this->files = $files;
 }
Example #3
0
 /**
  * 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;
 }