public function generateCore($config, $bar)
    {
        $this->crudGenerator->createModel($config);
        $this->crudGenerator->createService($config);

        if (strtolower($config['framework']) === 'laravel') {
            $this->crudGenerator->createRequest($config);
        }

        $bar->advance();
    }
public function generateCore($config, $bar)
    {
        $this->crudGenerator->createModel($config);
        $this->crudGenerator->createService($config);

        if (strtolower($config['framework']) === 'laravel') {
            $this->crudGenerator->createRequest($config);
        }

        $bar->advance();
    }
public function generateCore ( $ config , $ bar ) { $ this -> crudGenerator -> createModel ( $ config ) ; $ this -> crudGenerator -> createService ( $ config ) ; if ( strtolower ( $ config [ 'framework' ] ) === 'laravel' ) { $ this -> crudGenerator -> createRequest ( $ config ) ; } $ bar -> advance ( ) ; }
Generate core elements.

@param array                                         $config
@param \Symfony\Component\Console\Helper\ProgressBar $bar
Generate core elements .