protected function exportViews()
    {
        foreach ($this->views as $key => $value) {
            $path = base_path('resources/views/'.$value);

            $this->line('<info>View:</info> '.$path);

            try {
                copy(__DIR__ . '/../stubs/views/' . $key, $path);
            } catch (ErrorException $e) {
                $this->error(__DIR__ . '/../stubs/views/' . $key);
                $this->error($path);
            }
        }
    }
protected function exportViews()
    {
        foreach ($this->views as $key => $value) {
            $path = base_path('resources/views/'.$value);

            $this->line('<info>View:</info> '.$path);

            try {
                copy(__DIR__ . '/../stubs/views/' . $key, $path);
            } catch (ErrorException $e) {
                $this->error(__DIR__ . '/../stubs/views/' . $key);
                $this->error($path);
            }
        }
    }
protected function exportViews ( ) { foreach ( $ this -> views as $ key => $ value ) { $ path = base_path ( 'resources/views/' . $ value ) ; $ this -> line ( '<info>View:</info> ' . $ path ) ; try { copy ( __DIR__ . '/../stubs/views/' . $ key , $ path ) ; } catch ( ErrorException $ e ) { $ this -> error ( __DIR__ . '/../stubs/views/' . $ key ) ; $ this -> error ( $ path ) ; } } }
Export the views.

@return void
Export the views .