1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Events/ExpenseWasCreated.php

28 lines
442 B
PHP
Raw Normal View History

2016-01-06 20:52:09 +01:00
<?php namespace App\Events;
use App\Models\Expense;
2016-01-06 20:52:09 +01:00
use Illuminate\Queue\SerializesModels;
/**
* Class ExpenseWasCreated
*/
2016-01-08 19:01:00 +01:00
class ExpenseWasCreated extends Event
{
use SerializesModels;
/**
* @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;
}
}