You are here

public function SubscriptionInterface::getLease in Feeds 8.3

Returns the number of seconds of the lease.

The hub-determined number of seconds that the subscription will stay active before expiring, measured from the time the verification request was made from the hub to the subscriber.

Return value

int The time, in seconds of the lease.

1 method overrides SubscriptionInterface::getLease()
Subscription::getLease in src/Entity/Subscription.php
Returns the number of seconds of the lease.

File

src/SubscriptionInterface.php, line 91

Class

SubscriptionInterface
Provides an interface defining a feeds_subscription entity.

Namespace

Drupal\feeds

Code

public function getLease();