Laravel\Cashier\Http\Controllers\WebhookController::handleSubscriptionExpired PHP Méthode

handleSubscriptionExpired() protected méthode

Handle a subscription expiration notification from Braintree.
protected handleSubscriptionExpired ( WebhookNotification $webhook ) : Illuminate\Http\Response
$webhook Braintree\WebhookNotification
Résultat Illuminate\Http\Response
    protected function handleSubscriptionExpired($webhook)
    {
        return $this->cancelSubscription($webhook->subscription->id);
    }