public function SubscriptionInterface::setLease in Feeds 8.3
Sets the number of seconds of the lease.
Usually this value is retrieved from the hub where is being subscribed to and then stored on the subscription entity.
Parameters
int $lease: The time, in seconds of the lease.
1 method overrides SubscriptionInterface::setLease()
- Subscription::setLease in src/
Entity/ Subscription.php - Sets the number of seconds of the lease.
File
- src/
SubscriptionInterface.php, line 102
Class
- SubscriptionInterface
- Provides an interface defining a feeds_subscription entity.
Namespace
Drupal\feedsCode
public function setLease($lease);