You are here

protected function RateLimitDecoratedResource::setRateLimitManager in RESTful 7.2

Setter for $rateLimitManager.

Parameters

RateLimitManager $rate_limit_manager: The rate limit manager.

File

src/Plugin/resource/Decorators/RateLimitDecoratedResource.php, line 57
Contains \Drupal\restful\Plugin\resource\Decorators\RateLimitDecoratedResource

Class

RateLimitDecoratedResource
Class RateLimitDecoratedResource.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

protected function setRateLimitManager(RateLimitManager $rate_limit_manager) {
  $this->rateLimitManager = $rate_limit_manager;
}