invoiceninja/app/Events/InvoiceWasEmailed.php

28 lines
442 B
PHP
Raw Normal View History

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