function getRateLimiter()
    {
        if ($this->rateLimiter) {
            return $this->rateLimiter;
        }

        $app = $this->auth->getApp();
        $class = $app['config']->get('auth.loginRateLimiter', NullRateLimiter::class);

        $this->rateLimiter = new $class();
        if (method_exists($this->rateLimiter, 'setApp')) {
            $this->rateLimiter->setApp($app);
        }

        return $this->rateLimiter;
    }
function getRateLimiter()
    {
        if ($this->rateLimiter) {
            return $this->rateLimiter;
        }

        $app = $this->auth->getApp();
        $class = $app['config']->get('auth.loginRateLimiter', NullRateLimiter::class);

        $this->rateLimiter = new $class();
        if (method_exists($this->rateLimiter, 'setApp')) {
            $this->rateLimiter->setApp($app);
        }

        return $this->rateLimiter;
    }
function getRateLimiter ( ) { if ( $ this -> rateLimiter ) { return $ this -> rateLimiter ; } $ app = $ this -> auth -> getApp ( ) ; $ class = $ app [ 'config' ] -> get ( 'auth.loginRateLimiter' , NullRateLimiter :: class ) ; $ this -> rateLimiter = new $ class ( ) ; if ( method_exists ( $ this -> rateLimiter , 'setApp' ) ) { $ this -> rateLimiter -> setApp ( $ app ) ; } return $ this -> rateLimiter ; }
Gets the login rate limiter.

@return \Infuse\Auth\Interfaces\LoginRateLimiterInterface
Gets the login rate limiter .