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);
    }
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);
    }
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 ) ; }
Publishes base controller.
Publishes base controller .