2021-03-05 11:18:28 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2021-06-16 08:58:16 +02:00
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
2021-03-05 11:18:28 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Observers;
|
|
|
|
|
2021-03-25 11:55:59 +01:00
|
|
|
use App\Models\Subscription;
|
2021-03-05 11:18:28 +01:00
|
|
|
|
2021-03-25 11:55:59 +01:00
|
|
|
class SubscriptionObserver
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
/**
|
2023-07-25 12:24:33 +02:00
|
|
|
* Handle the subscription "created" event.
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2023-07-25 12:24:33 +02:00
|
|
|
* @param Subscription $subscription
|
2021-03-05 11:18:28 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2021-03-25 11:55:59 +01:00
|
|
|
public function created(Subscription $subscription)
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2023-07-25 12:24:33 +02:00
|
|
|
* Handle the subscription "updated" event.
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2023-07-25 12:24:33 +02:00
|
|
|
* @param Subscription $subscription
|
2021-03-05 11:18:28 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2021-03-25 11:55:59 +01:00
|
|
|
public function updated(Subscription $subscription)
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2023-07-25 12:24:33 +02:00
|
|
|
* Handle the subscription "deleted" event.
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2023-07-25 12:24:33 +02:00
|
|
|
* @param Subscription $subscription
|
2021-03-05 11:18:28 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2021-03-25 11:55:59 +01:00
|
|
|
public function deleted(Subscription $subscription)
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2023-07-25 12:24:33 +02:00
|
|
|
* Handle the subscription "restored" event.
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2023-07-25 12:24:33 +02:00
|
|
|
* @param Subscription $subscription
|
2021-03-05 11:18:28 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2021-03-25 11:55:59 +01:00
|
|
|
public function restored(Subscription $subscription)
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
2023-07-25 12:24:33 +02:00
|
|
|
* Handle the subscription "force deleted" event.
|
2021-03-05 11:18:28 +01:00
|
|
|
*
|
2023-07-25 12:24:33 +02:00
|
|
|
* @param Subscription $subscription
|
2021-03-05 11:18:28 +01:00
|
|
|
* @return void
|
|
|
|
*/
|
2021-03-25 11:55:59 +01:00
|
|
|
public function forceDeleted(Subscription $subscription)
|
2021-03-05 11:18:28 +01:00
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
}
|