invoiceninja/app/Events/QuoteInvitationWasEmailed.php

37 lines
613 B
PHP
Raw Permalink Normal View History

2017-01-30 21:40:43 +02:00
<?php
namespace App\Events;
2015-10-28 21:22:07 +02:00
use App\Models\Invitation;
2015-10-28 21:22:07 +02:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 21:40:43 +02:00
* 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
/**
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-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
}
}