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

33 lines
590 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;
use App\Models\Invoice;
2015-10-28 20:22:07 +01:00
use Illuminate\Queue\SerializesModels;
class QuoteInvitationWasApproved extends Event
{
use SerializesModels;
2015-10-28 20:22:07 +01:00
public $quote;
/**
* @var Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
/**
* Create a new event instance.
*
* @param $quote
2017-01-30 20:40:43 +01:00
* @param Invoice $invoice
* @param Invitation $invitation
*/
2016-07-20 09:03:46 +02:00
public function __construct(Invoice $quote, Invitation $invitation)
2015-10-28 20:22:07 +01:00
{
$this->quote = $quote;
$this->invitation = $invitation;
}
}