public function Shipment::getCreatedTime in Commerce Shipping 8.2
Gets the shipment creation timestamp.
Return value
int The shipment creation timestamp.
Overrides ShipmentInterface::getCreatedTime
File
- src/
Entity/ Shipment.php, line 467
Class
- Shipment
- Defines the shipment entity class.
Namespace
Drupal\commerce_shipping\EntityCode
public function getCreatedTime() {
return $this
->get('created')->value;
}