public function generateViewLayout()
    {
        if ($this->confirm('Do you want to create master view?')) {
            $this->console->call('generate:view', [
                'name' => $this->getViewLayout(),
                '--master' => true,
                '--force' => $this->console->option('force'),
            ]);
        }
    }
public function generateViewLayout()
    {
        if ($this->confirm('Do you want to create master view?')) {
            $this->console->call('generate:view', [
                'name' => $this->getViewLayout(),
                '--master' => true,
                '--force' => $this->console->option('force'),
            ]);
        }
    }
public function generateViewLayout ( ) { if ( $ this -> confirm ( 'Do you want to create master view?' ) ) { $ this -> console -> call ( 'generate:view' , [ 'name' => $ this -> getViewLayout ( ) , '--master' => true , '--force' => $ this -> console -> option ( 'force' ) , ] ) ; } }
Generate a view layout.
Generate a view layout .