1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00
invoiceninja/app/Events/ExpenseWasDeleted.php

30 lines
444 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Events;
2016-01-06 20:52:09 +01:00
use App\Models\Expense;
2016-01-06 20:52:09 +01:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 20:40:43 +01:00
* Class ExpenseWasDeleted.
*/
class ExpenseWasDeleted extends Event
{
use SerializesModels;
2016-01-06 20:52:09 +01:00
/**
* @var Expense
*/
2016-01-06 20:52:09 +01:00
public $expense;
/**
* Create a new event instance.
*
* @param Expense $expense
*/
public function __construct(Expense $expense)
2016-01-06 20:52:09 +01:00
{
$this->expense = $expense;
}
}