public function CreateRecordParameters::setActionTime in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/AuditLog/Params/CreateRecordParameters.php \Smartling\AuditLog\Params\CreateRecordParameters::setActionTime()
1 call to CreateRecordParameters::setActionTime()
- CreateRecordParameters::__construct in vendor/
smartling/ api-sdk-php/ src/ AuditLog/ Params/ CreateRecordParameters.php
File
- vendor/
smartling/ api-sdk-php/ src/ AuditLog/ Params/ CreateRecordParameters.php, line 21
Class
Namespace
Smartling\AuditLog\ParamsCode
public function setActionTime($timeStamp) {
if (!is_int($timeStamp)) {
throw new InvalidArgumentException('Time value must be a timestamp.');
}
$this
->set('actionTime', date('Y-m-d\\TH:i:s\\Z', $timeStamp));
return $this;
}