1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Observers/SubscriptionObserver.php
David Bomba abd3a89bc9
Subscriptions (#5248)
* Fixes for converting quote to invoice

* Fixes for naming PDFs

* Refresh entity prior to sending

* Fixes for subscriptions

* Add in required use

* Fixes for notifications

* Fixes for notifications

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11:00

73 lines
1.5 KiB
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Observers;
use App\Models\Subscription;
class SubscriptionObserver
{
/**
* Handle the billing_subscription "created" event.
*
* @param Subscription $billing_subscription
* @return void
*/
public function created(Subscription $subscription)
{
//
}
/**
* Handle the billing_subscription "updated" event.
*
* @param Subscription $billing_subscription
* @return void
*/
public function updated(Subscription $subscription)
{
//
}
/**
* Handle the billing_subscription "deleted" event.
*
* @param Subscription $billing_subscription
* @return void
*/
public function deleted(Subscription $subscription)
{
//
}
/**
* Handle the billing_subscription "restored" event.
*
* @param Subscription $billing_subscription
* @return void
*/
public function restored(Subscription $subscription)
{
//
}
/**
* Handle the billing_subscription "force deleted" event.
*
* @param Subscription $billing_subscription
* @return void
*/
public function forceDeleted(Subscription $subscription)
{
//
}
}