src/DuskServiceProvider.php
/**
     * Make the "logout" named route accessible over the GET verb.
     *
     * @return void
     */
Make the "logout" named route accessible over the GET verb.
@return void
Make the " logout " named route accessible over the GET verb . @return void
protected function makeLogoutAccessibleViaGet()
    {
        Route::getRoutes()->refreshNameLookups();
        if ($route = Route::getRoutes()->getByName('logout')) {
            Route::get($route->uri, $route->action);
        }
    }
protected function makeLogoutAccessibleViaGet ( ) { Route :: getRoutes ( ) -> refreshNameLookups ( ) ; if ( $ route = Route :: getRoutes ( ) -> getByName ( 'logout' ) ) { Route :: get ( $ route -> uri , $ route -> action ) ; } }
Make the "logout" named route accessible over the GET verb.
Make the " logout " named route accessible over the GET verb .