Laravel\Cashier\Http\Controllers\WebhookController::handleSubscriptionExpired PHP Method

handleSubscriptionExpired() protected method

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