protected function registerRequestRebindHandler()
    {
        $this->app->rebinding('request', function ($app, $request) {
            $request->setUserResolver(function ($guard = null) use ($app) {
                return call_user_func($app['auth']->userResolver(), $guard);
            });
        });
    }
protected function registerRequestRebindHandler()
    {
        $this->app->rebinding('request', function ($app, $request) {
            $request->setUserResolver(function ($guard = null) use ($app) {
                return call_user_func($app['auth']->userResolver(), $guard);
            });
        });
    }
protected function registerRequestRebindHandler ( ) { $ this -> app -> rebinding ( 'request' , function ( $ app , $ request ) { $ request -> setUserResolver ( function ( $ guard = null ) use ( $ app ) { return call_user_func ( $ app [ 'auth' ] -> userResolver ( ) , $ guard ) ; } ) ; } ) ; }
Handle the re-binding of the request binding.

@return void
Handle the re - binding of the request binding .