You are here

public function ResourceInterface::setRequest in RESTful 7.2

Sets the request object.

Parameters

RequestInterface $request: The request object.

2 methods override ResourceInterface::setRequest()
Resource::setRequest in src/Plugin/resource/Resource.php
Sets the request object.
ResourceDecoratorBase::setRequest in src/Plugin/resource/Decorators/ResourceDecoratorBase.php
Sets the request object.

File

src/Plugin/resource/ResourceInterface.php, line 85
Contains \Drupal\restful\Plugin\resource\ResourceInterface.

Class

ResourceInterface
Interface ResourceInterface.

Namespace

Drupal\restful\Plugin\resource

Code

public function setRequest(RequestInterface $request);