You are here

public function SubscriptionEvent::getSubscription in Commerce Recurring Framework 8

Gets the subscription.

Return value

\Drupal\commerce_recurring\Entity\SubscriptionInterface The subscription.

File

src/Event/SubscriptionEvent.php, line 38

Class

SubscriptionEvent
Defines the subscription event.

Namespace

Drupal\commerce_recurring\Event

Code

public function getSubscription() {
  return $this->subscription;
}