You are here

public function Order::getCreatedTime in Ubercart 8.4

Gets the order creation timestamp.

Return value

int Creation timestamp of the order.

Overrides OrderInterface::getCreatedTime

File

uc_order/src/Entity/Order.php, line 204

Class

Order
Defines the order entity class.

Namespace

Drupal\uc_order\Entity

Code

public function getCreatedTime() {
  return $this
    ->get('created')->value;
}