1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Events/InvoiceInvitationWasEmailed.php

37 lines
617 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\Invitation;
2015-03-31 19:42:37 +02:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 20:40:43 +01:00
* Class InvoiceInvitationWasEmailed.
*/
class InvoiceInvitationWasEmailed extends Event
{
use SerializesModels;
/**
* @var Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
2015-10-29 15:42:05 +01:00
2017-01-05 11:46:03 +01:00
/**
2017-01-30 20:40:43 +01:00
* @var string
2017-01-05 11:46:03 +01:00
*/
public $notes;
/**
* Create a new event instance.
*
* @param Invitation $invitation
2017-01-30 20:49:42 +01:00
* @param mixed $notes
*/
2017-01-05 11:46:03 +01:00
public function __construct(Invitation $invitation, $notes)
2015-03-31 20:50:58 +02:00
{
2015-10-28 20:22:07 +01:00
$this->invitation = $invitation;
2017-01-05 11:46:03 +01:00
$this->notes = $notes;
2015-03-31 20:50:58 +02:00
}
2015-03-31 19:42:37 +02:00
}