mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 16:13:20 +01:00
abd3a89bc9
* 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
73 lines
1.5 KiB
PHP
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)
|
|
{
|
|
//
|
|
}
|
|
}
|