public function generateView($view)
    {
        $generator = new ViewGenerator([
            'name' => $this->getPrefix('/').$this->getEntities().'/'.$view,
            'extends' => str_replace('/', '.', $this->getViewLayout()),
            'template' => '/scaffold/views/'.$view.'.stub',
            'force' => $this->console->option('force'),
        ]);

        $generator->appendReplacement(array_merge($this->getControllerScaffolder()->toArray(), [
            'lower_plural_entity' => strtolower($this->getEntities()),
            'studly_singular_entity' => Str::studly($this->getEntity()),
            'form' => $this->getFormGenerator()->render(),
            'table_heading' => $this->getTableDumper()->toHeading(),
            'table_body' => $this->getTableDumper()->toBody($this->getEntity()),
            'show_body' => $this->getTableDumper()->toRows($this->getEntity()),
        ]));

        $generator->run();

        $this->console->info('View created successfully.');
    }