You are here

public function MerciLineItem::getCreatedTime in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Gets the Merci Line Item creation timestamp.

Return value

int Creation timestamp of the Merci Line Item.

Overrides MerciLineItemInterface::getCreatedTime

File

modules/merci_line_item/src/Entity/MerciLineItem.php, line 138

Class

MerciLineItem
Defines the Merci Line Item entity.

Namespace

Drupal\merci_line_item\Entity

Code

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