public function generateAppBased($config, $bar)
    {
        if (!$config['options-serviceOnly'] && !$config['options-apiOnly']) {
            $this->crudGenerator->createController($config);
            $this->crudGenerator->createViews($config);
            $this->crudGenerator->createRoutes($config);

            if ($config['options-withFacade']) {
                $this->crudGenerator->createFacade($config);
            }
        }
        $bar->advance();
    }
public function generateAppBased($config, $bar)
    {
        if (!$config['options-serviceOnly'] && !$config['options-apiOnly']) {
            $this->crudGenerator->createController($config);
            $this->crudGenerator->createViews($config);
            $this->crudGenerator->createRoutes($config);

            if ($config['options-withFacade']) {
                $this->crudGenerator->createFacade($config);
            }
        }
        $bar->advance();
    }
public function generateAppBased ( $ config , $ bar ) { if ( ! $ config [ 'options-serviceOnly' ] && ! $ config [ 'options-apiOnly' ] ) { $ this -> crudGenerator -> createController ( $ config ) ; $ this -> crudGenerator -> createViews ( $ config ) ; $ this -> crudGenerator -> createRoutes ( $ config ) ; if ( $ config [ 'options-withFacade' ] ) { $ this -> crudGenerator -> createFacade ( $ config ) ; } } $ bar -> advance ( ) ; }
Generate app based elements.

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