1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/app/Events/InvoiceWasArchived.php

29 lines
445 B
PHP
Raw Normal View History

2015-03-31 19:42:37 +02:00
<?php namespace App\Events;
use App\Models\Invoice;
2015-03-31 19:42:37 +02:00
use Illuminate\Queue\SerializesModels;
/**
* Class InvoiceWasArchived
*/
class InvoiceWasArchived extends Event
{
use SerializesModels;
2015-03-31 19:42:37 +02:00
/**
* @var Invoice
*/
2015-03-31 20:50:58 +02:00
public $invoice;
2015-10-28 20:22:07 +01:00
/**
* Create a new event instance.
*
* @param Invoice $invoice
*/
public function __construct(Invoice $invoice)
2015-03-31 20:50:58 +02:00
{
$this->invoice = $invoice;
}
2015-03-31 19:42:37 +02:00
}