/**
  * Execute the command.
  *
  * @return void
  */
 public function handle()
 {
     parent::handle();
     $viewGenerator = new ViewGenerator($this->commandData);
     $viewGenerator->generate();
     $this->performPostActions();
 }
 /**
  * Execute the command.
  *
  * @return void
  */
 public function handle()
 {
     parent::handle();
     $this->initScaffoldGeneratorCommandData();
     $requestGenerator = new RequestGenerator($this->commandData);
     $requestGenerator->generate();
     $this->performPostActions();
 }
 /**
  * Execute the command.
  *
  * @return void
  */
 public function handle()
 {
     parent::handle();
     $this->initScaffoldGeneratorCommandData();
     if (!$this->commandData->options['fromTable']) {
         $migrationGenerator = new MigrationGenerator($this->commandData);
         $migrationGenerator->generate();
     }
     $modelGenerator = new ModelGenerator($this->commandData);
     $modelGenerator->generate();
     $repositoryGenerator = new RepositoryGenerator($this->commandData);
     $repositoryGenerator->generate();
     $requestGenerator = new RequestGenerator($this->commandData);
     $requestGenerator->generate();
     $controllerGenerator = new ControllerGenerator($this->commandData);
     $controllerGenerator->generate();
     $viewGenerator = new ViewGenerator($this->commandData);
     $viewGenerator->generate();
     $routeGenerator = new RoutesGenerator($this->commandData);
     $routeGenerator->generate();
     $this->performPostActionsWithMigration();
 }