1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00
invoiceninja/app/Events/InvoiceInvitationWasViewed.php

36 lines
653 B
PHP
Raw Normal View History

2015-03-31 19:42:37 +02:00
<?php namespace App\Events;
use App\Models\Invitation;
use App\Models\Invoice;
2015-03-31 19:42:37 +02:00
use Illuminate\Queue\SerializesModels;
/**
* Class InvoiceInvitationWasViewed
*/
2017-01-30 17:05:31 +01:00
class InvoiceInvitationWasViewed 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 Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
/**
* Create a new event instance.
*
* @param Invoice $invoice
* @param Invitation $invitation
*/
public function __construct(Invoice $invoice, Invitation $invitation)
2015-03-31 20:50:58 +02:00
{
$this->invoice = $invoice;
2015-10-28 20:22:07 +01:00
$this->invitation = $invitation;
2015-03-31 20:50:58 +02:00
}
2015-03-31 19:42:37 +02:00
}