1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Events/ExpenseWasUpdated.php

28 lines
442 B
PHP
Raw Normal View History

2016-01-08 19:01:00 +01:00
<?php namespace App\Events;
use App\Models\Expense;
2016-01-08 19:01:00 +01:00
use Illuminate\Queue\SerializesModels;
/**
* 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;
}
}