public function RateLimit::setLimit in RESTful 7.2
Set the rate limit.
Parameters
array $limits: The limits to set.
Overrides RateLimitInterface::setLimit
File
- src/
Plugin/ rate_limit/ RateLimit.php, line 55 - Contains \Drupal\restful\Plugin\rate_limit\RateLimit
Class
Namespace
Drupal\restful\Plugin\rate_limitCode
public function setLimit($limits) {
$this->limits = $limits;
}