You are here

public function RateLimitDecoratedResource::setAccount in RESTful 7.2

Overrides ResourceDecoratorBase::setAccount

File

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

Class

RateLimitDecoratedResource
Class RateLimitDecoratedResource.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function setAccount($account) {
  $this->subject
    ->setAccount($account);
  $this->rateLimitManager
    ->setAccount($account);
}