You are here

public function Subscription::getCreatedTime in Commerce Recurring Framework 8

Gets the created timestamp.

Return value

int The created timestamp.

Overrides SubscriptionInterface::getCreatedTime

File

src/Entity/Subscription.php, line 409

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

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