public function bootSentry($config){
        $app = $this->app;
        $this->app->container->singleton('sentry', function() use ($app, $config){

            $hasherProvider     = $this->hasherProviderFactory($config);
            $userProvider       = $this->userProviderFactory($hasherProvider, $config);
            $groupProvider      = $this->groupProviderFactory($config);
            $throttleProvider   = $this->throttleProviderFactory($userProvider, $config);

            return new Sentry(
                $userProvider,
                $groupProvider,
                $throttleProvider,
                new NativeSession,
                new NativeCookie,
                $app->request->getIp()
            );
        });
    }
public function bootSentry($config){
        $app = $this->app;
        $this->app->container->singleton('sentry', function() use ($app, $config){

            $hasherProvider     = $this->hasherProviderFactory($config);
            $userProvider       = $this->userProviderFactory($hasherProvider, $config);
            $groupProvider      = $this->groupProviderFactory($config);
            $throttleProvider   = $this->throttleProviderFactory($userProvider, $config);

            return new Sentry(
                $userProvider,
                $groupProvider,
                $throttleProvider,
                new NativeSession,
                new NativeCookie,
                $app->request->getIp()
            );
        });
    }
public function bootSentry ( $ config ) { $ app = $ this -> app ; $ this -> app -> container -> singleton ( 'sentry' , function ( ) use ( $ app , $ config ) { $ hasherProvider = $ this -> hasherProviderFactory ( $ config ) ; $ userProvider = $ this -> userProviderFactory ( $ hasherProvider , $ config ) ; $ groupProvider = $ this -> groupProviderFactory ( $ config ) ; $ throttleProvider = $ this -> throttleProviderFactory ( $ userProvider , $ config ) ; return new Sentry ( $ userProvider , $ groupProvider , $ throttleProvider , new NativeSession , new NativeCookie , $ app -> request -> getIp ( ) ) ; } ) ; }
Boot up Sentry authorization provider
@param  Array $config
Boot up Sentry authorization provider