original_string: private function publishTemplates()
      {
          if (!$this->fileSystem->isDirectory(getcwd().'/resources/crudmaker')) {
              $this->copyDirectory(__DIR__.'/../Templates/Lumen', getcwd().'/resources/crudmaker');
              $this->info("\n\nLumen templates files have been published");
          } else {
              $this->error('Lumen templates files has already been published');
          }
      }
code: private function publishTemplates()
      {
          if (!$this->fileSystem->isDirectory(getcwd().'/resources/crudmaker')) {
              $this->copyDirectory(__DIR__.'/../Templates/Lumen', getcwd().'/resources/crudmaker');
              $this->info("\n\nLumen templates files have been published");
          } else {
              $this->error('Lumen templates files has already been published');
          }
      }
code_tokens: private function publishTemplates ( ) { if ( ! $ this -> fileSystem -> isDirectory ( getcwd ( ) . '/resources/crudmaker' ) ) { $ this -> copyDirectory ( __DIR__ . '/../Templates/Lumen' , getcwd ( ) . '/resources/crudmaker' ) ; $ this -> info ( "\n\nLumen templates files have been published" ) ; } else { $ this -> error ( 'Lumen templates files has already been published' ) ; } }
docstring: Publish templates files for Lumen.
docstring_tokens: Publish templates files for Lumen .