Exemple #1
0
 /**
  * Sets the number of requests to throttle per second.
  * @param int $requestsPerSecond Number of requests to throttle per second
  */
 public static function setThrottlePerSecond($requestsPerSecond)
 {
     self::$maxRequestsPerSecond = $requestsPerSecond;
 }