You are here

protected function MappedObject::getRequestTime in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::getRequestTime()
  2. 5.0.x modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::getRequestTime()

Testable func to return the request time server variable.

Return value

int The request time.

1 call to MappedObject::getRequestTime()
MappedObject::save in modules/salesforce_mapping/src/Entity/MappedObject.php
Saves an entity permanently.

File

modules/salesforce_mapping/src/Entity/MappedObject.php, line 612

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

protected function getRequestTime() {
  return \Drupal::time()
    ->getRequestTime();
}