You are here

public function PushNotification::getCreated in Push Notifications 8

Returns the entity's created timestamp.

Return value

string The created timestamp for this entity.

Overrides PushNotificationInterface::getCreated

1 call to PushNotification::getCreated()
PushNotification::getCreatedTime in src/Entity/PushNotification.php

File

src/Entity/PushNotification.php, line 135
Contains Drupal\push_notifications\Entity\PushNotification.

Class

PushNotification
Defines the push_notification entity.

Namespace

Drupal\push_notifications\Entity

Code

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