invoiceninja/app/Events/QuoteInvitationWasEmailed.php

35 lines
580 B
PHP
Raw Normal View History

2015-10-28 21:22:07 +02:00
<?php namespace App\Events;
use App\Models\Invitation;
2015-10-28 21:22:07 +02:00
use Illuminate\Queue\SerializesModels;
/**
* Class QuoteInvitationWasEmailed
*/
class QuoteInvitationWasEmailed extends Event
{
use SerializesModels;
2015-10-28 21:22:07 +02:00
/**
* @var Invitation
*/
2015-10-28 21:22:07 +02:00
public $invitation;
2017-01-05 12:46:03 +02:00
/**
* @var String
*/
public $notes;
/**
* Create a new event instance.
*
* @param Invitation $invitation
*/
2017-01-05 12:46:03 +02:00
public function __construct(Invitation $invitation, $notes)
2015-10-28 21:22:07 +02:00
{
$this->invitation = $invitation;
2017-01-05 12:46:03 +02:00
$this->notes = $notes;
2015-10-28 21:22:07 +02:00
}
}