You are here

public function RateLimitInterface::setPeriod in RESTful 7.2

Set the rate limit period.

Parameters

\DateInterval $period:

1 method overrides RateLimitInterface::setPeriod()
RateLimit::setPeriod in src/Plugin/rate_limit/RateLimit.php
Set the rate limit period.

File

src/Plugin/rate_limit/RateLimitInterface.php, line 51
Contains \Drupal\restful\Plugin\rate_limit\RateLimitInterface

Class

RateLimitInterface

Namespace

Drupal\restful\Plugin\rate_limit

Code

public function setPeriod(\DateInterval $period);