public function OrderItem::getCreatedTime in Commerce Core 8.2
Gets the order item creation timestamp.
Return value
int The order item creation timestamp.
Overrides OrderItemInterface::getCreatedTime
File
- modules/
order/ src/ Entity/ OrderItem.php, line 335
Class
- OrderItem
- Defines the order item entity class.
Namespace
Drupal\commerce_order\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}