1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/Events/ExpenseWasUpdated.php

30 lines
444 B
PHP
Raw Normal View History

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