You are here

public function RestfulRateLimitBase::setPeriod in RESTful 7

Set the rate limit period.

Parameters

\DateInterval $period:

File

plugins/rate_limit/RestfulRateLimitBase.php, line 100
Contains \RestfulRateLimitBase

Class

RestfulRateLimitBase
@file Contains \RestfulRateLimitBase

Code

public function setPeriod(\DateInterval $period) {
  $this->period = $period;
}