mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
37 lines
617 B
PHP
37 lines
617 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Invitation;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class InvoiceInvitationWasEmailed.
|
|
*/
|
|
class InvoiceInvitationWasEmailed extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Invitation
|
|
*/
|
|
public $invitation;
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $notes;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Invitation $invitation
|
|
* @param mixed $notes
|
|
*/
|
|
public function __construct(Invitation $invitation, $notes)
|
|
{
|
|
$this->invitation = $invitation;
|
|
$this->notes = $notes;
|
|
}
|
|
}
|