You are here

public function SupportTicket::getCreatedTime in Support Ticketing System 8

Gets the support ticket creation timestamp.

Return value

int Creation timestamp of the support ticket.

Overrides SupportTicketInterface::getCreatedTime

File

modules/support_ticket/src/Entity/SupportTicket.php, line 173
Contains \Drupal\support_ticket\Entity\SupportTicket.

Class

SupportTicket
Defines the support ticket entity class.

Namespace

Drupal\support_ticket\Entity

Code

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