invoiceninja/app/Events/Invoice/InvoiceWasUpdated.php

30 lines
439 B
PHP
Raw Normal View History

2019-04-19 18:49:14 +10:00
<?php
2019-04-19 19:09:55 +10:00
namespace App\Events\Invoice;
2019-04-19 18:49:14 +10:00
use App\Models\Invoice;
use Illuminate\Queue\SerializesModels;
/**
* Class InvoiceWasUpdated.
*/
2019-04-20 08:27:37 +10:00
class InvoiceWasUpdated
2019-04-19 18:49:14 +10:00
{
use SerializesModels;
/**
* @var Invoice
*/
public $invoice;
/**
* Create a new event instance.
*
* @param Invoice $invoice
*/
public function __construct(Invoice $invoice)
{
$this->invoice = $invoice;
}
}