protected function createViews($input)
    {
        if (!$this->option('without-views')) {
            $this->call(
                'create:views',
                [
                    'model-name' => $input->modelName,
                    '--resource-file' => $input->resourceFile,
                    '--views-directory' => $input->viewsDirectory,
                    '--routes-prefix' => $input->prefix,
                    '--layout-name' => $input->layoutName,
                    '--template-name' => $input->template,
                    '--force' => $input->force,
                ]
            );
        }

        return $this;
    }
protected function createViews($input)
    {
        if (!$this->option('without-views')) {
            $this->call(
                'create:views',
                [
                    'model-name' => $input->modelName,
                    '--resource-file' => $input->resourceFile,
                    '--views-directory' => $input->viewsDirectory,
                    '--routes-prefix' => $input->prefix,
                    '--layout-name' => $input->layoutName,
                    '--template-name' => $input->template,
                    '--force' => $input->force,
                ]
            );
        }

        return $this;
    }
protected function createViews ( $ input ) { if ( ! $ this -> option ( 'without-views' ) ) { $ this -> call ( 'create:views' , [ 'model-name' => $ input -> modelName , '--resource-file' => $ input -> resourceFile , '--views-directory' => $ input -> viewsDirectory , '--routes-prefix' => $ input -> prefix , '--layout-name' => $ input -> layoutName , '--template-name' => $ input -> template , '--force' => $ input -> force , ] ) ; } return $ this ; }
Executes the command that generates all the views.

@param CrestApps\CodeGenerator\Models\ResourceInput $input

@return $this
Executes the command that generates all the views .