Пример #1
0
 /**
  * Create a new command instance.
  *
  * @param  Moduly      $module
  * @param  Filesystem  $files
  * @param  Migrator    $migrator
  */
 public function __construct(Moduly $module, Filesystem $files, Migrator $migrator)
 {
     parent::__construct();
     $this->module = $module;
     $this->files = $files;
     $this->migrator = $migrator;
 }
Пример #2
0
 /**
  * Create a new command instance.
  *
  * @param  ModuleMakeHandler  $handler
  */
 public function __construct(ModuleMakeHandler $handler)
 {
     parent::__construct();
     $this->handler = $handler;
 }
Пример #3
0
 /**
  * Create a new command instance.
  *
  * @param  Moduly  $module
  */
 public function __construct(Moduly $module)
 {
     parent::__construct();
     $this->module = $module;
 }
Пример #4
0
 /**
  * Optimize the framework for better performance.
  *
  * @param  Command  $command
  */
 protected function optimize(Command $command)
 {
     $command->call('optimize');
 }
Пример #5
0
 /**
  * Create a new command instance.
  *
  * @param  Migrator  $migrator
  * @param  Moduly    $module
  */
 public function __construct(Migrator $migrator, Moduly $module)
 {
     parent::__construct();
     $this->migrator = $migrator;
     $this->module = $module;
 }