You are here

public function Shipment::getShippedTime in Commerce Shipping 8.2

Gets the shipment shipped timestamp.

Return value

int The shipment shipped timestamp.

Overrides ShipmentInterface::getShippedTime

File

src/Entity/Shipment.php, line 482

Class

Shipment
Defines the shipment entity class.

Namespace

Drupal\commerce_shipping\Entity

Code

public function getShippedTime() {
  return $this
    ->get('shipped')->value;
}