src/Console/DuskCommand.php
protected function writeConfiguration()
    {
        if (! file_exists($file = base_path('phpunit.dusk.xml')) &&
            ! file_exists(base_path('phpunit.dusk.xml.dist'))) {
            copy(realpath(__DIR__.'/../../stubs/phpunit.xml'), $file);

            return;
        }

        $this->hasPhpUnitConfiguration = true;
    }
protected function writeConfiguration()
    {
        if (! file_exists($file = base_path('phpunit.dusk.xml')) &&
            ! file_exists(base_path('phpunit.dusk.xml.dist'))) {
            copy(realpath(__DIR__.'/../../stubs/phpunit.xml'), $file);

            return;
        }

        $this->hasPhpUnitConfiguration = true;
    }
protected function writeConfiguration ( ) { if ( ! file_exists ( $ file = base_path ( 'phpunit.dusk.xml' ) ) && ! file_exists ( base_path ( 'phpunit.dusk.xml.dist' ) ) ) { copy ( realpath ( __DIR__ . '/../../stubs/phpunit.xml' ) , $ file ) ; return ; } $ this -> hasPhpUnitConfiguration = true ; }
Write the Dusk PHPUnit configuration.

@return void
Write the Dusk PHPUnit configuration .