public function Subscription::getCustomerId in Commerce Recurring Framework 8
Gets the customer ID.
Return value
int The customer ID.
Overrides SubscriptionInterface::getCustomerId
File
- src/
Entity/ Subscription.php, line 155
Class
- Subscription
- Defines the subscription entity.
Namespace
Drupal\commerce_recurring\EntityCode
public function getCustomerId() {
return $this
->get('uid')->target_id;
}