You are here

public function Subscription::getStore in Commerce Recurring Framework 8

Gets the store.

Return value

\Drupal\commerce_store\Entity\StoreInterface The store.

Overrides SubscriptionInterface::getStore

File

src/Entity/Subscription.php, line 111

Class

Subscription
Defines the subscription entity.

Namespace

Drupal\commerce_recurring\Entity

Code

public function getStore() {
  return $this
    ->get('store_id')->entity;
}