protected function configureEnvironmentFile()
    {
        $dir = app()->environmentPath();
        $file = app()->environmentFile();
        $path = "{$dir}/{$file}";

        if (file_exists($path)) {
            $this->line('Environment file already exists. Moving on.');

            return;
        }

        copy("$path.example", $path);
    }
protected function configureEnvironmentFile()
    {
        $dir = app()->environmentPath();
        $file = app()->environmentFile();
        $path = "{$dir}/{$file}";

        if (file_exists($path)) {
            $this->line('Environment file already exists. Moving on.');

            return;
        }

        copy("$path.example", $path);
    }
protected function configureEnvironmentFile ( ) { $ dir = app ( ) -> environmentPath ( ) ; $ file = app ( ) -> environmentFile ( ) ; $ path = "{$dir}/{$file}" ; if ( file_exists ( $ path ) ) { $ this -> line ( 'Environment file already exists. Moving on.' ) ; return ; } copy ( "$path.example" , $ path ) ; }
Copy the environment file.

@return void
Copy the environment file .