You are here

public function RateLimit::getPeriod in RESTful 7.2

Get the rate limit period.

Return value

\DateInterval The period.

Overrides RateLimitInterface::getPeriod

File

src/Plugin/rate_limit/RateLimit.php, line 96
Contains \Drupal\restful\Plugin\rate_limit\RateLimit

Class

RateLimit

Namespace

Drupal\restful\Plugin\rate_limit

Code

public function getPeriod() {
  return $this->period;
}