1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Events/QuoteInvitationWasEmailed.php

37 lines
613 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Events;
2015-10-28 20:22:07 +01:00
use App\Models\Invitation;
2015-10-28 20:22:07 +01:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 20:40:43 +01:00
* Class QuoteInvitationWasEmailed.
*/
class QuoteInvitationWasEmailed extends Event
{
use SerializesModels;
2015-10-28 20:22:07 +01:00
/**
* @var Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
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-10-28 20:22:07 +01:00
{
$this->invitation = $invitation;
2017-01-05 11:46:03 +01:00
$this->notes = $notes;
2015-10-28 20:22:07 +01:00
}
}