You are here

public function RateLimitInterface::setLimit in RESTful 7.2

Set the rate limit.

Parameters

array $limits: The limits to set.

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

File

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

Class

RateLimitInterface

Namespace

Drupal\restful\Plugin\rate_limit

Code

public function setLimit($limits);