mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
64 lines
1.1 KiB
PHP
64 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Observers;
|
|
|
|
use App\Models\Expense;
|
|
|
|
class ExpenseObserver
|
|
{
|
|
/**
|
|
* Handle the expense "created" event.
|
|
*
|
|
* @param \App\Models\Expense $expense
|
|
* @return void
|
|
*/
|
|
public function created(Expense $expense)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the expense "updated" event.
|
|
*
|
|
* @param \App\Models\Expense $expense
|
|
* @return void
|
|
*/
|
|
public function updated(Expense $expense)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the expense "deleted" event.
|
|
*
|
|
* @param \App\Models\Expense $expense
|
|
* @return void
|
|
*/
|
|
public function deleted(Expense $expense)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the expense "restored" event.
|
|
*
|
|
* @param \App\Models\Expense $expense
|
|
* @return void
|
|
*/
|
|
public function restored(Expense $expense)
|
|
{
|
|
//
|
|
}
|
|
|
|
/**
|
|
* Handle the expense "force deleted" event.
|
|
*
|
|
* @param \App\Models\Expense $expense
|
|
* @return void
|
|
*/
|
|
public function forceDeleted(Expense $expense)
|
|
{
|
|
//
|
|
}
|
|
}
|