Example #1
0
 /**
  * Asks the loginThrottler service if the given identity has reached the throttle_limit.
  *
  * @param mixed $identity The login identity.
  *
  * @return boolean True if the identity has reached the throttle_limit.
  */
 public function isThrottled($identity)
 {
     return $this->loginThrottler->isThrottled($identity);
 }