public function Order::setCreatedTime in Ubercart 8.4
Sets the order creation timestamp.
Parameters
int $timestamp: The order creation timestamp.
Return value
$this
Overrides OrderInterface::setCreatedTime
File
- uc_order/
src/ Entity/ Order.php, line 211
Class
- Order
- Defines the order entity class.
Namespace
Drupal\uc_order\EntityCode
public function setCreatedTime($timestamp) {
$this
->set('created', $timestamp);
return $this;
}