protected function registerAuthenticatedUserLock()
    {
        $this->app->singleton(Lock::class, function($app) {
            return new UserLock($app[Manager::class], $app['auth.driver'], config('lock.user_caller_type'));
        });
    }
protected function registerAuthenticatedUserLock()
    {
        $this->app->singleton(Lock::class, function($app) {
            return new UserLock($app[Manager::class], $app['auth.driver'], config('lock.user_caller_type'));
        });
    }
protected function registerAuthenticatedUserLock ( ) { $ this -> app -> singleton ( Lock :: class , function ( $ app ) { return new UserLock ( $ app [ Manager :: class ] , $ app [ 'auth.driver' ] , config ( 'lock.user_caller_type' ) ) ; } ) ; }
This will register the lock instance for the authenticated user
This will register the lock instance for the authenticated user