public function Subscription::getExpire in Feeds 8.3
Returns a timestamp of when the subscription expires.
Return value
int The UNIX timestamp when the subscription expires.
Overrides SubscriptionInterface::getExpire
File
- src/
Entity/ Subscription.php, line 110
Class
- Subscription
- Defines the subscription entity class.
Namespace
Drupal\feeds\EntityCode
public function getExpire() {
return (int) $this
->get('expires')->value;
}