1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-09 12:42:36 +01:00
invoiceninja/app/Events/InvoiceWasEmailed.php

36 lines
538 B
PHP
Raw Normal View History

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