src/DoctrineServiceProvider.php
protected function registerPresenceVerifierProvider()
    {
        if ($this->isLumen()) {
            $this->app->singleton('validator', function () {
                $this->app->register(PresenceVerifierProvider::class);

                return $this->app->make('validator');
            });
        } else {
            $this->app->register(PresenceVerifierProvider::class);
        }
    }
protected function registerPresenceVerifierProvider()
    {
        if ($this->isLumen()) {
            $this->app->singleton('validator', function () {
                $this->app->register(PresenceVerifierProvider::class);

                return $this->app->make('validator');
            });
        } else {
            $this->app->register(PresenceVerifierProvider::class);
        }
    }
protected function registerPresenceVerifierProvider ( ) { if ( $ this -> isLumen ( ) ) { $ this -> app -> singleton ( 'validator' , function ( ) { $ this -> app -> register ( PresenceVerifierProvider :: class ) ; return $ this -> app -> make ( 'validator' ) ; } ) ; } else { $ this -> app -> register ( PresenceVerifierProvider :: class ) ; } }
Register the deferred service provider for the validation presence verifier
Register the deferred service provider for the validation presence verifier