Mpociot\Teamwork\Commands\MakeTeamwork::exportViews PHP Method

exportViews() protected method

Export the authentication views.
protected exportViews ( ) : void
return void
    protected function exportViews()
    {
        foreach ($this->views as $key => $value) {
            $path = base_path('resources/views/' . $value);
            $this->line('<info>Created View:</info> ' . $path);
            copy(__DIR__ . '/../../../stubs/views/' . $key, $path);
        }
    }