original_string: public function generateCore($config, $bar)
      {
          $this->crudGenerator->createModel($config);
          $this->crudGenerator->createService($config);
  
          if (strtolower($config['framework']) === 'laravel') {
              $this->crudGenerator->createRequest($config);
          }
  
          $bar->advance();
      }
code: public function generateCore($config, $bar)
      {
          $this->crudGenerator->createModel($config);
          $this->crudGenerator->createService($config);
  
          if (strtolower($config['framework']) === 'laravel') {
              $this->crudGenerator->createRequest($config);
          }
  
          $bar->advance();
      }
code_tokens: public function generateCore ( $ config , $ bar ) { $ this -> crudGenerator -> createModel ( $ config ) ; $ this -> crudGenerator -> createService ( $ config ) ; if ( strtolower ( $ config [ 'framework' ] ) === 'laravel' ) { $ this -> crudGenerator -> createRequest ( $ config ) ; } $ bar -> advance ( ) ; }
docstring: Generate core elements.
  
  @param array                                         $config
  @param \Symfony\Component\Console\Helper\ProgressBar $bar
docstring_tokens: Generate core elements .