You are here

public function ResourceDecoratorBase::getRequest in RESTful 7.2

Get the request object.

Return value

RequestInterface The request object.

Throws

\Drupal\restful\Exception\ServerConfigurationException

Overrides ResourceInterface::getRequest

1 call to ResourceDecoratorBase::getRequest()
RateLimitDecoratedResource::process in src/Plugin/resource/Decorators/RateLimitDecoratedResource.php
Controller function that passes the data along and executes right action.

File

src/Plugin/resource/Decorators/ResourceDecoratorBase.php, line 91
Contains \Drupal\restful\Plugin\resource\Decorators\ResourceDecoratorBase.

Class

ResourceDecoratorBase
Class ResourceDecoratorBase.

Namespace

Drupal\restful\Plugin\resource\Decorators

Code

public function getRequest() {
  return $this->subject
    ->getRequest();
}