Пример #1
0
 /**
  * StatusCommand constructor.
  * @param \Notadd\Foundation\Database\Migrations\Migrator $migrator
  */
 public function __construct(Migrator $migrator)
 {
     parent::__construct();
     $this->migrator = $migrator;
 }
 /**
  * MigrateMakeCommand constructor.
  * @param \Notadd\Foundation\Database\Migrations\MigrationCreator $creator
  * @param \Notadd\Foundation\Composer\Composer $composer
  */
 public function __construct(MigrationCreator $creator, Composer $composer)
 {
     parent::__construct();
     $this->creator = $creator;
     $this->composer = $composer;
 }