src/DuskServiceProvider.php
/**
     * Bootstrap any package services.
     *
     * @return void
     */
Bootstrap any package services.
@return void
Bootstrap any package services . @return void
public function boot()
    {
        Route::get('/_dusk/login/{userId}', [
            'middleware' => 'web',
            'uses' => 'Laravel\Dusk\Http\Controllers\LoginController@login'
        ]);
        $this->app->booted(function () {
            $this->makeLogoutAccessibleViaGet();
        });
    }
public function boot ( ) { Route :: get ( '/_dusk/login/{userId}' , [ 'middleware' => 'web' , 'uses' => 'Laravel\Dusk\Http\Controllers\LoginController@login' ] ) ; $ this -> app -> booted ( function ( ) { $ this -> makeLogoutAccessibleViaGet ( ) ; } ) ; }
Bootstrap any package services.
Bootstrap any package services .