original_string: private function publishAppBaseController()
      {
          $templateHelper = new TemplatesHelper();
          $templateData = $templateHelper->getTemplate('AppBaseController', 'controller');
  
          $templateData = GeneratorUtils::fillTemplate(CommandData::getConfigDynamicVariables(), $templateData);
  
          $fileName = 'AppBaseController.php';
  
          $filePath = Config::get('generator.path_controller', app_path('Http/Controllers/'));
  
          $fileHelper = new FileHelper();
          $fileHelper->writeFile($filePath.$fileName, $templateData);
          $this->comment('AppBaseController generated');
          $this->info($fileName);
      }
code: private function publishAppBaseController()
      {
          $templateHelper = new TemplatesHelper();
          $templateData = $templateHelper->getTemplate('AppBaseController', 'controller');
  
          $templateData = GeneratorUtils::fillTemplate(CommandData::getConfigDynamicVariables(), $templateData);
  
          $fileName = 'AppBaseController.php';
  
          $filePath = Config::get('generator.path_controller', app_path('Http/Controllers/'));
  
          $fileHelper = new FileHelper();
          $fileHelper->writeFile($filePath.$fileName, $templateData);
          $this->comment('AppBaseController generated');
          $this->info($fileName);
      }
code_tokens: private function publishAppBaseController ( ) { $ templateHelper = new TemplatesHelper ( ) ; $ templateData = $ templateHelper -> getTemplate ( 'AppBaseController' , 'controller' ) ; $ templateData = GeneratorUtils :: fillTemplate ( CommandData :: getConfigDynamicVariables ( ) , $ templateData ) ; $ fileName = 'AppBaseController.php' ; $ filePath = Config :: get ( 'generator.path_controller' , app_path ( 'Http/Controllers/' ) ) ; $ fileHelper = new FileHelper ( ) ; $ fileHelper -> writeFile ( $ filePath . $ fileName , $ templateData ) ; $ this -> comment ( 'AppBaseController generated' ) ; $ this -> info ( $ fileName ) ; }
docstring: Publishes base controller.
docstring_tokens: Publishes base controller .