1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Events/ExpenseWasRestored.php

30 lines
446 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 ExpenseWasRestored.
*/
class ExpenseWasRestored 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;
}
}