You are here

public function FindPostsResponse::setUserId in HTTP Client Manager 8

Set user id.

Parameters

int $userId: The post author id.

File

modules/http_client_manager_example/src/Response/FindPostsResponse.php, line 90

Class

FindPostsResponse
Class FindPostsResponse.

Namespace

Drupal\http_client_manager_example\Response

Code

public function setUserId($userId) {
  $this->userId = $userId;
}