public function Order::getPlacedTime in Commerce Core 8.2
Gets the order placed timestamp.
Return value
int The order placed timestamp.
Overrides OrderInterface::getPlacedTime
1 call to Order::getPlacedTime()
- Order::getCalculationDate in modules/
order/ src/ Entity/ Order.php - Gets the calculation date/time for the order.
File
- modules/
order/ src/ Entity/ Order.php, line 615
Class
- Order
- Defines the order entity class.
Namespace
Drupal\commerce_order\EntityCode
public function getPlacedTime() {
return $this
->get('placed')->value;
}