You are here

protected function RestClient::getRequestTime in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::getRequestTime()
  2. 5.0.x src/Rest/RestClient.php \Drupal\salesforce\Rest\RestClient::getRequestTime()

Returns REQUEST_TIME.

Return value

int The REQUEST_TIME server variable.

4 calls to RestClient::getRequestTime()
RestClient::getRecordTypes in src/Rest/RestClient.php
Retrieve all record types for this org.
RestClient::getVersions in src/Rest/RestClient.php
Wrapper for "Versions" resource to list information about API releases.
RestClient::objectDescribe in src/Rest/RestClient.php
Retrieve all the metadata for an object.
RestClient::objects in src/Rest/RestClient.php
Available objects and their metadata for your organization's data.

File

src/Rest/RestClient.php, line 651

Class

RestClient
Objects, properties, and methods to communicate with the Salesforce REST API.

Namespace

Drupal\salesforce\Rest

Code

protected function getRequestTime() {
  return $this->time
    ->getRequestTime();
}