invoiceninja/app/Events/InvoiceInvitationWasEmailed.php

37 lines
617 B
PHP
Raw Normal View History

2017-01-30 21:40:43 +02:00
<?php
namespace App\Events;
2015-03-31 20:42:37 +03:00
use App\Models\Invitation;
2015-03-31 20:42:37 +03:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 21:40:43 +02:00
* Class InvoiceInvitationWasEmailed.
*/
class InvoiceInvitationWasEmailed extends Event
{
use SerializesModels;
/**
* @var Invitation
*/
2015-10-28 21:22:07 +02:00
public $invitation;
2015-10-29 16:42:05 +02:00
2017-01-05 12:46:03 +02:00
/**
2017-01-30 21:40:43 +02:00
* @var string
2017-01-05 12:46:03 +02:00
*/
public $notes;
/**
* Create a new event instance.
*
* @param Invitation $invitation
2017-01-30 21:49:42 +02:00
* @param mixed $notes
*/
2017-01-05 12:46:03 +02:00
public function __construct(Invitation $invitation, $notes)
2015-03-31 21:50:58 +03:00
{
2015-10-28 21:22:07 +02:00
$this->invitation = $invitation;
2017-01-05 12:46:03 +02:00
$this->notes = $notes;
2015-03-31 21:50:58 +03:00
}
2015-03-31 20:42:37 +03:00
}