You are here

public function Subscription::getRenewedTime in Commerce Recurring Framework 8

Gets the renewal timestamp.

Return value

int The renewal timestamp.

Overrides SubscriptionInterface::getRenewedTime

File

src/Entity/Subscription.php, line 469

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getRenewedTime() {
  return $this
    ->get('renewed')->value;
}